Skip to content

Commit

Permalink
ci: switch to action-sh-checker v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik66 committed Aug 24, 2023
1 parent 23389f6 commit 1d17c3d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3

- name: shfmt
uses: luizm/action-sh-checker@v0.6.0
uses: luizm/action-sh-checker@v0.7.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SHFMT_OPTS: -s # arguments to shfmt.
Expand Down
16 changes: 16 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,19 @@ disable=SC3013
# https://github.com/koalaman/shellcheck/wiki/SC3045
# ... but dash supports it
disable=SC3045

# SC2086: Double quote to prevent globbing and word splitting.
# https://github.com/koalaman/shellcheck/wiki/SC2086
disable=SC2086

# SC2317: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
# https://github.com/koalaman/shellcheck/wiki/SC2317
disable=SC2317

# SC2004: $/${} is unnecessary on arithmetic variables.
# https://github.com/koalaman/shellcheck/wiki/SC2004
disable=SC2004

# SC2319: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# https://github.com/koalaman/shellcheck/wiki/SC2319
disable=SC2319

0 comments on commit 1d17c3d

Please sign in to comment.