diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7051f2a..519a376 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: run: go vet ./... - name: Lint the code using "golint" - run: go get -u golang.org/x/lint/golint && golint -set_exit_status ./... - + run: go install golang.org/x/lint/golint@latest && golint -set_exit_status ./... + - name: Run staticcheck - run: go get -u honnef.co/go/tools/cmd/staticcheck && staticcheck ./... + run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./...