Skip to content

Commit 4e579e5

Browse files
committed
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
1 parent 2abee09 commit 4e579e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: go mod verify
2222

2323
- name: Build
24+
shell: bash
2425
run: |
2526
go test ./...
2627
go build -v ./cmd/gh

0 commit comments

Comments
 (0)