Skip to content

Bump golangci-lint to v2#54410

Merged
rosstimothy merged 4 commits intomasterfrom
tross/golangci-lint-v2
May 7, 2025
Merged

Bump golangci-lint to v2#54410
rosstimothy merged 4 commits intomasterfrom
tross/golangci-lint-v2

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Apr 30, 2025

Updates the golangci-lint config file to use v2 and bumps the version of golangci-lint used in CI to v2.1.5. Most issues found by the updated linter were addressed in the last commit, QF1008 was added to the ignore list due to the volume of preexisting violations.

Depends on https://github.com/gravitational/teleport.e/pull/6436.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Apr 30, 2025
@rosstimothy rosstimothy force-pushed the tross/golangci-lint-v2 branch 3 times, most recently from 37f521f to 0ff2b43 Compare April 30, 2025 21:19
@rosstimothy
Copy link
Copy Markdown
Contributor Author

Note that since v2 is not compatible with the v1 config, I've preemptively opened backports and resolved issues for all release branches. My intent is to land them all at roughly the same time to minimize disruptions caused by needing to use different versions of the tool on different release branches.

@rosstimothy rosstimothy marked this pull request as ready for review May 5, 2025 21:13
@github-actions github-actions bot added application-access audit-log Issues related to Teleports Audit Log database-access Database access related issues and PRs discovery kubernetes-access labels May 5, 2025
@rosstimothy rosstimothy force-pushed the tross/golangci-lint-v2 branch from b2e714f to a3fc413 Compare May 7, 2025 19:42
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rosstimothy rosstimothy added this pull request to the merge queue May 7, 2025
Merged via the queue into master with commit 52816e8 May 7, 2025
43 checks passed
@rosstimothy rosstimothy deleted the tross/golangci-lint-v2 branch May 7, 2025 22:36
@ravicious ravicious mentioned this pull request May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application-access audit-log Issues related to Teleports Audit Log database-access Database access related issues and PRs discovery kubernetes-access machine-id no-changelog Indicates that a PR does not require a changelog entry size/sm tctl tctl - Teleport admin tool tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants