* Go: Bump to 1.24.2
It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.
Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311
* CI: Update golangci-lint
(cherry picked from commit 1c4284a8b4)
23 lines
791 B
Plaintext
23 lines
791 B
Plaintext
go 1.24.2
|
|
|
|
// The `skip:golangci-lint` comment tag is used to exclude the package from the `golangci-lint` GitHub Action.
|
|
// The module at the root of the repo (`.`) is excluded because ./pkg/... is included manually in the `golangci-lint` configuration.
|
|
|
|
use (
|
|
. // skip:golangci-lint
|
|
./pkg/apimachinery
|
|
./pkg/apiserver
|
|
./pkg/build
|
|
./pkg/build/wire // skip:golangci-lint
|
|
./pkg/promlib
|
|
./pkg/semconv
|
|
./pkg/storage/unified/resource
|
|
./pkg/util/xorm // skip:golangci-lint
|
|
)
|
|
|
|
// when we release xorm we would like to release it like github.com/grafana/grafana/pkg/util/xorm
|
|
// but we don't want to change all the imports. so we use replace to handle this situation
|
|
replace xorm.io/xorm => ./pkg/util/xorm
|
|
|
|
replace github.com/getkin/kin-openapi => github.com/getkin/kin-openapi v0.125.0
|