Yuri Norwood
bb23b49e23
Fix windows path separator problems
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:35:28 +13:00
Yuri Norwood
645f9ad30b
Replace GOPATH with system dependent lib path
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:26:17 +13:00
Yuri Norwood
ae2240dd72
Remove GOOS detection as GOOS not in environment
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:23:02 +13:00
Yuri Norwood
5f6ce583a3
Properly log GOOS detection
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:19:00 +13:00
Yuri Norwood
56245aa167
Extract binary directly to GOPATH rather than hardcoded lib path
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:15:13 +13:00
Yuri Norwood
6f8a8b87eb
USe GOOs
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:08:50 +13:00
Yuri Norwood
d9e1a5f877
Restore original console loggers
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 10:00:21 +13:00
Yuri Norwood
6e451eb607
Attempt debugging missing download
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:58:21 +13:00
Yuri Norwood
05082d6398
Correct all references to hardcoded filename
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:55:50 +13:00
Yuri Norwood
2725d26cb6
Fix missing $
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:53:56 +13:00
Yuri Norwood
580790fbab
Use environment defined temp path
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:50:30 +13:00
Yuri Norwood
f183840554
Refactor download stage
...
* Separate logical steps
* Use string interpolation for curl command
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:45:46 +13:00
Yuri Norwood
fbe5303dd3
Prevent curl from assuming tar.gz format
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:41:38 +13:00
Yuri Norwood
5ffc60a1a3
Make postfix constant
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:39:29 +13:00
Yuri Norwood
026aad37c7
Correctly avoid assignment to const variable
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:38:48 +13:00
Yuri Norwood
74659dabed
Separate extension detection from postfix
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:33:52 +13:00
Yuri Norwood
beae072e4d
Inline postfix declaration
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:29:09 +13:00
Yuri Norwood
44e82aa5b0
Run self test on all push events (for testing)
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:26:28 +13:00
Yuri Norwood
b8991edc05
Add selftest on windows
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:25:55 +13:00
Yuri Norwood
b7b7b7013a
Remove unix specific logging and determine .zip extension on windows
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:24:59 +13:00
Yuri Norwood
c936969241
Prevent darwin from being reported as Linux
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:22:31 +13:00
Yuri Norwood
7dc6b91140
Correctly identify windows os
...
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-07 09:07:51 +13:00
Yuri Norwood
19aa3d4945
Extend selftest workflow to multiple runners ( #9 )
...
* Extend selftest workflow to multiple runners
This should help catch errors like #4 and #8 by ensuring that gotestfmt can run on all the major OS runners for GitHub Actions.
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Separate windows step from *nix runners
This allows `bash` and `pwsh` syntax to be used separately to avoid having to write the test as a polyglot 😬
Also added `secrets.GITHUB_TOKEN` as a fallback in case the repo secret `secrets.GH_TOKEN` is not set up, e.g. in a fork.
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Remove `/tmp` directory for artifacts
On MacOS, this results in:
```
Error: Provided rootDirectory /tmp is not a valid directory
```
On Windows this results in:
```
Error: No files were found with the provided path: /tmp/gotest.windows.log. No artifacts will be uploaded.
```
Both seem to be unhappy with `/tmp`, since the workspace is implicitly cleaned up at the end of the workflow, there shouldn't be a need to specify `/tmp`.
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Name each workflow run of the matrix
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Fix artifact path
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Simplify workflow by just using bash universally
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
* Apply suggestions from code review
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
2022-11-04 10:00:11 +01:00
Janos Bonic
65f1d2228f
Updating to node16 ( #6 )
...
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
2022-10-20 16:23:59 +02:00
Michael Engel
ea487b2cee
added token to install ( #7 )
...
* added token to install
* removed on push trigger for selftest
2022-10-20 15:33:14 +02:00
Michael Engel
e110d38b81
added selftest for macos
2022-10-20 08:33:23 +01:00
Michael Engel
eeb550eb95
determining os
2022-10-20 08:33:23 +01:00
Michael Engel
fff0618065
fix ln operation on macos
2022-10-20 08:33:23 +01:00
Janos Bonic
88f47a96e9
Adding action required section
2022-10-09 09:27:47 +02:00
Janos Bonic
d32893af0c
Referencing the new organization
2022-10-08 16:28:19 +02:00
Janos Bonic
b300c764ec
Updating repo link
2022-10-08 15:31:13 +02:00
Janos Bonic
031d228603
Updating action name
2022-10-08 15:30:49 +02:00
Janos Bonic
b1a16c9147
Revert "Deprecating haveyoudebuggedit/gotestfmt-action"
...
This reverts commit f64e47ecde .
2022-10-08 14:27:17 +01:00
Janos Bonic
f64e47ecde
Deprecating haveyoudebuggedit/gotestfmt-action
2022-10-08 14:26:38 +01:00
Janos Bonic
5218c40f69
Fixing animated SVG
2022-10-08 15:17:54 +02:00
Janos
012723e406
Added v2 warning
2021-12-05 13:57:36 +01:00
Janos
5472be5c71
Fixed readme
2021-12-05 13:56:48 +01:00
Janos Bonic
3e91a15d55
Issue haveyoudebuggedit/gotestfmt#8: JSON support ( #1 )
2021-12-05 12:54:21 +00:00
Janos Pasztor
5bb352227d
Update README.md
2021-07-28 13:08:27 +00:00
Janos
4e82a4309c
ISsue tempalte config
2021-07-28 13:19:16 +02:00
Janos
dd78d46209
Added issue templates
2021-07-28 13:17:42 +02:00
Janos
3b6e1ebdc6
Added animated illustration
2021-07-28 12:45:27 +02:00
Janos
ef303b6eaa
Added pipefail
2021-07-28 10:08:48 +02:00
Janos
fc14668e33
Updated description
2021-07-28 09:42:01 +02:00
Janos
e5fa590dd5
Added icon and color
2021-07-28 09:41:05 +02:00
Janos Pasztor
e67526dc28
Create LICENSE.md
2021-07-28 07:36:49 +00:00
Janos
60528c590c
Readme
2021-07-28 09:33:10 +02:00
Janos
8a47082a5b
More testing
2021-07-28 09:28:17 +02:00
Janos
ec3a52825f
More testing
2021-07-28 09:21:31 +02:00
Janos
03ad8ff09e
More testing
2021-07-28 09:19:39 +02:00