From 6246a6ea8be9c3e5e313b82d7902a0f13460c27b Mon Sep 17 00:00:00 2001 From: Yuri Norwood <106889957+norwd@users.noreply.github.com> Date: Wed, 2 Nov 2022 10:25:27 +1300 Subject: [PATCH] Simplify workflow by just using bash universally Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com> --- .github/workflows/selftest.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml index 2474bd3..8e230eb 100644 --- a/.github/workflows/selftest.yml +++ b/.github/workflows/selftest.yml @@ -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()