Skip to content

Commit

Permalink
Fix CI workflow to use bash as shell instead of sh
Browse files Browse the repository at this point in the history
From https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontainer:

> Note: The default shell for run steps inside a container is sh instead of bash. This can be overridden with jobs.<job_id>.defaults.run or jobs.<job_id>.steps[*].shell.
  • Loading branch information
dzuelke committed Jul 1, 2024
1 parent dcd799d commit 2771b81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
permissions:
contents: read

defaults:
run:
shell: bash

jobs:

unit-test:
Expand Down

0 comments on commit 2771b81

Please sign in to comment.