diff --git a/.github/actions/setup-go/action.yml b/.github/actions/setup-go/action.yml index cd7cb8f5f7..eda95fe09a 100644 --- a/.github/actions/setup-go/action.yml +++ b/.github/actions/setup-go/action.yml @@ -89,8 +89,13 @@ runs: - if: ${{ inputs.create == 'true' }} shell: bash + id: setup-go-test run: npx hereby test + - if: ${{ failure() && inputs.create == 'true' && steps.setup-go-test.conclusion == 'failure' }} + shell: bash + run: git diff --diff-filter=AM --no-index ./testdata/baselines/reference ./testdata/baselines/local + - if: ${{ inputs.create == 'true' }} shell: bash run: npx hereby test --coverage