ci: update shellcheck installation method in CI config
Some checks failed
Bash Scripts CI/CD / lint (pull_request) Failing after 5s
Some checks failed
Bash Scripts CI/CD / lint (pull_request) Failing after 5s
This commit is contained in:
parent
7abda2fcd4
commit
77e03b9c1b
1 changed files with 7 additions and 4 deletions
|
@ -15,8 +15,11 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install shellcheck
|
- name: Install shellcheck
|
||||||
run: sudo apt-get install -y shellcheck
|
run: |
|
||||||
|
wget https://github.com/koalaman/shellcheck/releases/download/v0.9.4/shellcheck_0.9.4-1_amd64.deb
|
||||||
|
sudo apt-get install -y ./shellcheck_0.9.4-1_amd64.deb
|
||||||
|
rm shellcheck_0.9.4-1_amd64.deb
|
||||||
|
|
||||||
- name: Lint bash scripts
|
- name: Lint bash scripts
|
||||||
run: |
|
run: |
|
||||||
find . -type f -name "*.sh" -exec shellcheck {} \;
|
find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue