Skip to content

Commit

Permalink
Switch lint tools to go install
Browse files Browse the repository at this point in the history
staticcheck is failing with the current method because it's updating the go.mod file and not being able to resolve dependencies properly.
  • Loading branch information
adamconnelly committed Oct 20, 2021
1 parent d57f595 commit dfa6d4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...

0 comments on commit dfa6d4d

Please sign in to comment.