bottlerocket-os / bottlerocket

An operating system designed for hosting containers
https://bottlerocket.dev
Other
8.64k stars 508 forks source link

Update golangci/golangci-lint-action to v6 #4012

Closed larvacea closed 4 months ago

larvacea commented 4 months ago

Description of changes:

Update our golangci-lint workflow to use the most recent version of the golangci/golangci-lint-action (from v4 to v6).

Update our configuration: the golangci-lint linter formerly known as vet in is now named govet and the old name is deprecated. Running cargo make check-golangci-lint with the old configuration produces two warning messages.

Testing done:

Ran cargo make check-golangci-lint, which passed. This pull request will trigger the workflow and actually test this change.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.