-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a specific version of staticcheck (#819)
Co-authored-by: Alexey Alexandrov <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,8 +61,7 @@ jobs: | |
brew install graphviz | ||
# Do not let tools interfere with the main module's go.mod. | ||
cd && go mod init tools | ||
# TODO: Update to a specific version when https://github.com/dominikh/go-tools/issues/1362 is fixed. | ||
go install honnef.co/go/tools/cmd/staticcheck@master | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
# Add PATH for installed tools. | ||
echo "$GOPATH/bin:$PATH" >> $GITHUB_PATH | ||
|
@@ -120,8 +119,7 @@ jobs: | |
sudo apt-get install graphviz | ||
# Do not let tools interfere with the main module's go.mod. | ||
cd && go mod init tools | ||
# TODO: Update to a specific version when https://github.com/dominikh/go-tools/issues/1362 is fixed. | ||
go install honnef.co/go/tools/cmd/staticcheck@master | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
# Add PATH for installed tools. | ||
echo "$GOPATH/bin:$PATH" >> $GITHUB_PATH | ||
|