Skip to content

Commit

Permalink
CI: Add a bash linter to pre-submits
Browse files Browse the repository at this point in the history
Warns about shellcheck issues with severity `error`.
  • Loading branch information
mandre committed Sep 26, 2024
1 parent 3954485 commit a18bf43
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@ jobs:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.55.2

shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: error

test-coverage:
name: test-coverage
runs-on: ubuntu-latest
Expand Down

0 comments on commit a18bf43

Please sign in to comment.