Skip to content

Commit

Permalink
add: ShellCheck CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tarepan committed Apr 7, 2024
1 parent a4749af commit 5fed9b6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,16 @@ jobs:
- name: Test names by checking typo
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
uses: crate-ci/[email protected]

lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4

- name: Install ShellCheck
run: |
sudo apt-get update
sudo apt-get install -y shellcheck
- name: Check shell files
run: git ls-files | grep -E '\.(ba)?sh' | xargs shellcheck

0 comments on commit 5fed9b6

Please sign in to comment.