Skip to content

Commit

Permalink
fix: use 'go install' instead of 'go get' to install tools
Browse files Browse the repository at this point in the history
  • Loading branch information
flopp committed Apr 3, 2024
1 parent 578baf9 commit da97168
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
with:
go-version: 1.17
- run: go mod download
- run: go get -v golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
- run: go get -v golang.org/x/tools/cmd/goimports
- run: go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest
- run: go install golang.org/x/tools/cmd/goimports@latest
- run: go install honnef.co/go/tools/cmd/staticcheck@latest
- run: go get -v golang.org/x/lint/golint
- run: go get -v github.com/nishanths/exhaustive/...
- run: go get -v github.com/fzipp/gocyclo/cmd/gocyclo
- run: go install golang.org/x/lint/golint@latest
- run: go install github.com/nishanths/exhaustive/...@latest
- run: go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
- name: vet
run: go vet ./...
- name: shadow
Expand Down

0 comments on commit da97168

Please sign in to comment.