Skip to content

Commit

Permalink
ci: add shellcheck (#587)
Browse files Browse the repository at this point in the history
resolve: #132 
use gha https://github.com/reviewdog/action-shellcheck to check shell
scripts.
  • Loading branch information
zll600 authored Jun 17, 2024
1 parent 5894063 commit caef745
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ jobs:
# See https://editorconfig.org/ to know how to support editorconfig in your editor
make lint-editorconfig
- name: lint shell
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
path: "."
pattern: "*.sh"

- name: lint remain
run: |
make lint-remain

0 comments on commit caef745

Please sign in to comment.