Skip to content

Commit

Permalink
install tools
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed May 4, 2024
1 parent 2f0d343 commit d80e355
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/bin/sh

# Install tools to test our code-quality.
go get -u golang.org/x/lint/golint
go get -u golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
go get -u honnef.co/go/tools/cmd/staticcheck
# I don't even ..
go env -w GOFLAGS="-buildvcs=false"

# Install the lint-tool, and the shadow-tool
go install golang.org/x/lint/golint@latest
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest
go install honnef.co/go/tools/cmd/staticcheck@latest



# Run the static-check tool.
Expand Down

0 comments on commit d80e355

Please sign in to comment.