-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuild golangci-lint when go version changes (#147)
If the project upgrades the version of Go to a new minor (or major) release but doesn't rebuild golangci-lint with that version of Go, it is possible that certain language features won't be available until it is rebuilt. For example, if golangci-lint is built with Go 1.21, it won't be able to lint code that uses the new range over integers syntax introduced in Go 1.22. Update dep_golangci_lint.mk to add the major and minor version of Go to the cache key so that it will rebuild golangci-lint automatically if the Go major or minor version are updated in go.mod.
- Loading branch information
Showing
3 changed files
with
12 additions
and
7 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
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
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