From 77e03b9c1bc4b14d4d479a19092c61078b0f8ba8 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 7 Apr 2025 19:30:47 +0200 Subject: [PATCH] ci: update shellcheck installation method in CI config --- .forgejo/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index d0d7135..efce4bc 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -13,10 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - + - 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 run: | - find . -type f -name "*.sh" -exec shellcheck {} \; + find . -type f -name "*.sh" -print0 | xargs -0 shellcheck