Skip to content

Conversation

@mstoykov
Copy link
Contributor

What?

Update to latet golangci-lint v2.5.0

Why?

Both to update the version and fix issues earlier, but also because we need newer version to work with go 1.25, and not have local issues that do not happen in CI.

Checklist

  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests for my changes.
  • I have run linter and tests locally (make check) and all pass.

Checklist: Documentation (only for k6 maintainers and if relevant)

Please do not merge this PR until the following items are filled out.

  • I have added the correct milestone and labels to the PR.
  • I have updated the release notes: link
  • I have updated or added an issue to the k6-documentation: grafana/k6-docs#NUMBER if applicable
  • I have updated or added an issue to the TypeScript definitions: grafana/k6-DefinitelyTyped#NUMBER if applicable

Related PR(s)/Issue(s)

This seems to be the most ... not terrible way to do it.

Doing it with `//nolint` requires line everywhere and then nolintlint
complains.

Disabling it as a rule of `revive` disables all other rules.
@mstoykov mstoykov added this to the v1.4.0 milestone Sep 25, 2025
@mstoykov mstoykov requested a review from a team as a code owner September 25, 2025 13:56
@mstoykov mstoykov requested review from AgnesToulet and ankur22 and removed request for a team September 25, 2025 13:56
@mstoykov
Copy link
Contributor Author

Better to go commit by commit as they are split based on similar problems/reports.

@mstoykov mstoykov temporarily deployed to azure-trusted-signing September 25, 2025 14:03 — with GitHub Actions Inactive
@mstoykov mstoykov temporarily deployed to azure-trusted-signing September 25, 2025 14:05 — with GitHub Actions Inactive
@mstoykov mstoykov merged commit 02602d7 into master Oct 7, 2025
52 of 54 checks passed
@mstoykov mstoykov deleted the golangCIUpdate branch October 7, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants