Skip to content

Update linter version to 1.46.2

Axel von Bertoldi requested to merge avonbertoldi/update-linter-1.46.2 into main

What does this MR do?

Updates the version of the linter used in this repo.

Why was this MR needed?

To update the version of go to 1.18 we need to also update the linter version (or at least it's a good idea to do so). But to update the linter version, we have to update https://gitlab.com/gitlab-org/language-tools/go/linters/goargs to make it compatible with the new linter version (a plugin and its consumer must use the same versions for common dependencies). This was done in gitlab-org/language-tools/go/linters/goargs!4 (merged), but that actually breaks this repo's build because now this repo's linter version is not compatible with goarch. This MR restores compatibility, and thus sanity to the world.

What's the best way to test this MR?

CI pipeline must pass

What are the relevant issue numbers?

Edited by Axel von Bertoldi

Merge request reports