Skip to content

Commit

Permalink
use fixed staticcheck version
Browse files Browse the repository at this point in the history
  • Loading branch information
shmokmt committed Oct 25, 2024
1 parent ab25b11 commit e167bbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ TEMP_PATH="$(mktemp -d)"
PATH="${TEMP_PATH}:$PATH"
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

STATICCHECK_VERSION="2024.1.1"
echo '::group:: Installing staticcheck ... https://staticcheck.io'
curl -sfL "https://github.com/dominikh/go-tools/releases/latest/download/staticcheck_linux_amd64.tar.gz" | tar -xvz -C "${TEMP_PATH}" --strip-components=1
curl -sfL "https://github.com/dominikh/go-tools/releases/download/${STATICCHECK_VERSION}/staticcheck_linux_amd64.tar.gz" | tar -xvz -C "${TEMP_PATH}" --strip-components=1
staticcheck --version
echo '::endgroup::'


Expand Down

0 comments on commit e167bbe

Please sign in to comment.