From 4e579e544cfdf18fbf62372c141b93d509a5b860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 29 Jan 2020 12:22:13 +0100 Subject: [PATCH] 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 --- .github/workflows/go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 40ab1acb4..ea3cf9369 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,6 +21,7 @@ jobs: run: go mod verify - name: Build + shell: bash run: | go test ./... go build -v ./cmd/gh