Make sure failed builds result in an error on Windows
By default, this was run on PowerShell on Windows, and even though the Actions environment is supposed to immediately exit on failures[1], this doesn't seem to have effect. Switching to bash for unified behavior on all platforms. [1]: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
This commit is contained in:
parent
2abee0905b
commit
4e579e544c
1 changed files with 1 additions and 0 deletions
1
.github/workflows/go.yml
vendored
1
.github/workflows/go.yml
vendored
|
|
@ -21,6 +21,7 @@ jobs:
|
|||
run: go mod verify
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
go test ./...
|
||||
go build -v ./cmd/gh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue