-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mimir-build-image: Upgrade golangci-lint #8385
Conversation
Building new version of mimir-build-image. After image is built and pushed to Docker Hub, a new commit will automatically be added to this PR with new image version |
98d6f39
to
a29d34e
Compare
Building new version of mimir-build-image. After image is built and pushed to Docker Hub, a new commit will automatically be added to this PR with new image version |
a29d34e
to
1002687
Compare
Building new version of mimir-build-image. After image is built and pushed to Docker Hub, a new commit will automatically be added to this PR with new image version |
Signed-off-by: Arve Knudsen <[email protected]>
ff4648e
to
5797548
Compare
Not building new version of mimir-build-image. This PR modifies |
Signed-off-by: Arve Knudsen <[email protected]> (cherry picked from commit 4c02b83)
What this PR does
Upgrade to golangci-lint v1.59.1.
An issue with this upgrade is that
staticcheck
now complains aboutreflect.*Header
being deprecated. I fix it in one test, since it was easy, but leave other cases ignored by the linter (nolint:staticcheck
) to unblock the PR.pkg/mimirpb/timeseries_test.go:108:25: SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead. (staticcheck)
Which issue(s) this PR fixes or relates to
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.