From 457f8940ef2565d5e3e0fc01efcf3544accf617f Mon Sep 17 00:00:00 2001 From: William Kennedy Date: Sun, 21 Jan 2024 14:45:04 -0500 Subject: [PATCH] new git workflow --- .github/workflows/go.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9540dfdc..31b6d3ca 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,8 +20,10 @@ jobs: - name: Staticheck run: | - go install honnef.co/go/tools/cmd/staticcheck@latest - staticcheck/staticcheck -checks=all ./... + wget -O staticcheck.tgz https://github.com/dominikh/go-tools/releases/download/2022.1/staticcheck_linux_amd64.tar.gz + sudo tar -xzf staticcheck.tgz + ./staticcheck/staticcheck --version + ./staticcheck/staticcheck -checks=all ./... - name: Build run: go build -v ./...