mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-09 01:07:29 +00:00
Simplify workflow by just using bash universally
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
eba019b497
commit
6246a6ea8b
1 changed files with 1 additions and 7 deletions
8
.github/workflows/selftest.yml
vendored
8
.github/workflows/selftest.yml
vendored
|
|
@ -28,17 +28,11 @@ jobs:
|
|||
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run gotestfmt
|
||||
if: matrix.os != 'windows'
|
||||
working-directory: testdata
|
||||
shell: bash
|
||||
run: |
|
||||
go test -json -v ./... 2>&1 | tee gotest.${{ matrix.os }}.log | gotestfmt
|
||||
|
||||
- name: Run gotestfmt (Windows)
|
||||
if: matrix.os == 'windows'
|
||||
working-directory: testdata
|
||||
run: |
|
||||
go test -json -v ./... 2>&1 | Tee-Object gotest.${{ matrix.os }}.log | gotestfmt
|
||||
|
||||
- name: Upload test log
|
||||
uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Reference in a new issue