Skip to content

Commit

Permalink
Add shellcheck CI step
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbley committed Apr 2, 2024
1 parent bedcaf4 commit f456507
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Shellcheck

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install shellcheck
run: sudo apt update && sudo apt install --assume-yes shellcheck

- name: Run shellcheck
run: find . -name \*.sh | xargs shellcheck --severity=warning

0 comments on commit f456507

Please sign in to comment.