Use the SDK for Linting #2704
Labels
area/testing
Work relating to testing Bottlerocket
help wanted
Denotes an issue that needs help from a contributor
status/icebox
Things we think would be nice but are not prioritized
type/enhancement
New feature or request
If we use the local installs of Go and Cargo/Rust to lint the code, we risk breaking every time the compiler updates and we risk having conflicting lints between GitHub actions and developers' local builds. This is especially true with clippy which aggressively adds lints with each update.
We should use the SDK toolchains to perform these lints so that we control the time at which lints change (i.e. when we update the SDK).
Originally posted by @webern in #2701 (comment)
The text was updated successfully, but these errors were encountered: