2025-03-17 16:48:41 +08:00
|
|
|
go 1.24.1
|
2024-02-23 21:54:24 +08:00
|
|
|
|
2024-08-09 04:51:17 +08:00
|
|
|
// 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.
|
|
|
|
|
2024-02-23 21:54:24 +08:00
|
|
|
use (
|
2024-08-09 04:51:17 +08:00
|
|
|
. // skip:golangci-lint
|
2025-03-17 16:48:41 +08:00
|
|
|
./.citools/bra
|
|
|
|
./.citools/cog
|
|
|
|
./.citools/cue
|
|
|
|
./.citools/drone
|
|
|
|
./.citools/golangci-lint
|
|
|
|
./.citools/jb
|
|
|
|
./.citools/lefthook
|
2025-01-21 19:31:33 +08:00
|
|
|
./apps/advisor
|
2024-12-09 23:29:05 +08:00
|
|
|
./apps/alerting/notifications
|
2025-03-13 17:05:01 +08:00
|
|
|
./apps/dashboard
|
2025-02-18 02:19:22 +08:00
|
|
|
./apps/investigations
|
2024-09-14 04:27:40 +08:00
|
|
|
./apps/playlist
|
2024-08-14 03:28:17 +08:00
|
|
|
./pkg/aggregator
|
2024-02-24 04:15:43 +08:00
|
|
|
./pkg/apimachinery
|
2025-03-14 17:38:19 +08:00
|
|
|
./pkg/apis/secret // @grafana/grafana-operator-experience-squad
|
2024-02-24 04:15:43 +08:00
|
|
|
./pkg/apiserver
|
2024-06-15 00:35:30 +08:00
|
|
|
./pkg/build
|
2024-08-09 04:51:17 +08:00
|
|
|
./pkg/build/wire // skip:golangci-lint
|
2025-01-10 20:33:51 +08:00
|
|
|
./pkg/codegen
|
|
|
|
./pkg/plugins/codegen
|
2024-03-12 00:22:33 +08:00
|
|
|
./pkg/promlib
|
2024-08-02 20:35:18 +08:00
|
|
|
./pkg/semconv
|
2024-08-22 02:32:01 +08:00
|
|
|
./pkg/storage/unified/apistore
|
2024-06-20 21:11:21 +08:00
|
|
|
./pkg/storage/unified/resource
|
2024-08-09 04:51:17 +08:00
|
|
|
./pkg/util/xorm // skip:golangci-lint
|
2024-02-23 21:54:24 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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
|
2024-09-14 04:27:40 +08:00
|
|
|
|
2025-01-10 20:33:51 +08:00
|
|
|
replace github.com/getkin/kin-openapi => github.com/getkin/kin-openapi v0.126.0
|
2024-10-01 00:50:35 +08:00
|
|
|
|
|
|
|
replace github.com/prometheus/alertmanager => github.com/grafana/prometheus-alertmanager v0.25.1-0.20240930132144-b5e64e81e8d3
|
2024-11-04 16:55:29 +08:00
|
|
|
|
|
|
|
replace github.com/crewjam/saml => github.com/grafana/saml v0.4.15-0.20240917091248-ae3bbdad8a56
|