Skip to content

Commit d6ebf55

Browse files
committed
ci: explicitly specify to use bash to enable fail-fast behavior
1 parent 85cb4b6 commit d6ebf55

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

.github/workflows/generate-go-app.yml

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ permissions:
99
# See https://github.com/actions/upload-artifact/issues/197#issuecomment-832279436
1010
contents: read # for "git clone"
1111

12+
defaults:
13+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
14+
run:
15+
# Enable fail-fast behavior using set -eo pipefail
16+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
17+
shell: bash
18+
1219
jobs:
1320
generate-app:
1421
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on

.github/workflows/generate-js-app.yml

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ permissions:
99
# See https://github.com/actions/upload-artifact/issues/197#issuecomment-832279436
1010
contents: read # for "git clone"
1111

12+
defaults:
13+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
14+
run:
15+
# Enable fail-fast behavior using set -eo pipefail
16+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
17+
shell: bash
18+
1219
jobs:
1320
generate-app:
1421
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on

.github/workflows/generate-python-app.yml

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ permissions:
99
# See https://github.com/actions/upload-artifact/issues/197#issuecomment-832279436
1010
contents: read # for "git clone"
1111

12+
defaults:
13+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
14+
run:
15+
# Enable fail-fast behavior using set -eo pipefail
16+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
17+
shell: bash
18+
1219
jobs:
1320
generate-app:
1421
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on

0 commit comments

Comments
 (0)