From 1aa02cc5c0f0692ad6eb1d26bf7ec28dd49c0128 Mon Sep 17 00:00:00 2001 From: Denis Palnitsky Date: Thu, 28 Apr 2022 15:54:43 +0200 Subject: [PATCH] Install staticcheck manually --- .github/workflows/test.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 42a70b6..48ccc3d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,6 +32,14 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 1 - - uses: dominikh/staticcheck-action@v1.2.0 + + - name: Set up Go + uses: actions/setup-go@v2 with: - version: "2022.1.1" \ No newline at end of file + go-version: 1.18 + + - uses: install staticcheck + run: go install honnef.co/go/tools/cmd/staticcheck@latest + + - uses: run static check + run: staticcheck ./...