Skip to content

Commit

Permalink
Add pipefail to default shell
Browse files Browse the repository at this point in the history
because when apt fails to fetch information (with errors) the whole job
should fail

actions/runner#353 (comment)
actions/runner#353

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
  • Loading branch information
jimmykarily committed Aug 21, 2023
1 parent dc2959e commit 66b85f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-encryption-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -eo pipefail {0}
steps:
- name: Release space from worker
run: |
Expand Down

0 comments on commit 66b85f3

Please sign in to comment.