Skip to content

Commit

Permalink
feat: Add shellcheck as a step of GitHub action
Browse files Browse the repository at this point in the history
* Added two new steps of "lint-code" job
  * Try to install shellcheck CLI tool during CI
  * Try to check rhc.bash using this tool during CI
  • Loading branch information
jirihnidek authored and ahitacat committed Nov 7, 2023
1 parent 2fa139b commit 513c004
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
with:
version: "latest"
args: "--verbose"
- name: Install shellcheck
run: sudo apt install shellcheck
- name: Check shell bash scripts
run: shellcheck ./rhc.bash
lint-language:
name: Lint language
runs-on: ubuntu-latest
Expand Down

0 comments on commit 513c004

Please sign in to comment.