Skip to content

Commit

Permalink
Set default shell to bash
Browse files Browse the repository at this point in the history
This sets the `-o pipefail` behavior that you might expect to be a default (see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference). Without this setting, `go test -count=1 -v -tags corpus ./integration_tests/... | tail` will always return a success error code.
  • Loading branch information
patjakdev committed Jul 3, 2024
1 parent dc52df6 commit ac04178
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/corpus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ on:

jobs:
build:
defaults:
run:
shell: bash
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit ac04178

Please sign in to comment.