ci: update ShellCheck action and checkout version
Some checks failed
Bash Scripts CI/CD / lint (pull_request) Failing after 7s
Some checks failed
Bash Scripts CI/CD / lint (pull_request) Failing after 7s
This commit is contained in:
parent
22fc4f37ee
commit
29e77c8a4c
1 changed files with 3 additions and 11 deletions
|
@ -12,15 +12,7 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install shellcheck
|
||||
run: |
|
||||
wget https://github.com/koalaman/shellcheck/releases/latest/download/shellcheck-latest.linux.x86_64.tar.xz
|
||||
tar -xvf shellcheck-latest.linux.x86_64.tar.xz
|
||||
sudo mv shellcheck /usr/local/bin
|
||||
rm shellcheck-latest.linux.x86_64.tar.xz
|
||||
|
||||
- name: Lint bash scripts
|
||||
run: |
|
||||
find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue