From 29e77c8a4c78ff0882ac9b731f336bdf299aa8ea Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 7 Apr 2025 19:32:57 +0200 Subject: [PATCH] ci: update ShellCheck action and checkout version --- .forgejo/workflows/ci.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index a9e61b9..3f7ccba 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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