From 22fc4f37ee3a88ce1d01776b1c9e280944c1982f Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 7 Apr 2025 19:31:54 +0200 Subject: [PATCH] ci: update shellcheck installation method in CI config --- .forgejo/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index efce4bc..a9e61b9 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -16,9 +16,10 @@ jobs: - name: Install 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 + 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: |