From c4445982bcb3e9ad14827d0d5d30baf3db429f17 Mon Sep 17 00:00:00 2001 From: 0xmachos <0xmachos@gmail.com> Date: Sun, 5 May 2024 14:55:37 +0100 Subject: [PATCH] Download Shellcheck: Declare shellcheck version in env --- .github/workflows/Shellcheck.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Shellcheck.yml b/.github/workflows/Shellcheck.yml index 2a89d89..348b6d7 100644 --- a/.github/workflows/Shellcheck.yml +++ b/.github/workflows/Shellcheck.yml @@ -21,8 +21,9 @@ jobs: - uses: actions/checkout@v4 - name: Download Shellcheck - run: | + env: SHELLCEHCK_LATEST_VERSION="0.10.0" + run: | curl --silent --location --output "${{ github.workspace }}/shellcheck-v${SHELLCEHCK_LATEST_VERSION}.tar.xz" \ "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCEHCK_LATEST_VERSION}/shellcheck-v${SHELLCEHCK_LATEST_VERSION}.darwin.aarch64.tar.xz"