ci: update ShellCheck action and checkout version
Some checks failed
Bash Scripts CI/CD / lint (pull_request) Failing after 7s

This commit is contained in:
Jan K9f 2025-04-07 19:32:57 +02:00
parent 22fc4f37ee
commit 29e77c8a4c
Signed by: jank
GPG key ID: B9F475106B20F144

View file

@ -12,15 +12,7 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install shellcheck - name: Run ShellCheck
run: | uses: ludeeus/action-shellcheck@master
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