From 130c596048495e43a99664fc69f6796507acc163 Mon Sep 17 00:00:00 2001 From: Sanjit Bhat Date: Mon, 8 Jul 2024 15:46:59 -0400 Subject: [PATCH] ci: use staticcheck action, which should have better caching --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfa761a..94004f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,9 +31,10 @@ jobs: run: go vet ./... - name: Lint - run: | - go install honnef.co/go/tools/cmd/staticcheck@v0.4.7 - staticcheck -f stylish ./... + uses: dominikh/staticcheck-action@v1 + with: + version: '0.4.7' + install-go: false python: runs-on: ubuntu-latest