Simplify workflow by just using bash universally

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
Yuri Norwood 2022-11-02 10:25:27 +13:00 committed by GitHub
parent eba019b497
commit 6246a6ea8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()