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 ./...