[v11.2.x] Chore: Add go workspace scripts (#92297)

Chore: Add go workspace scripts (#91707)

(cherry picked from commit 7f155b2b6f)

Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
This commit is contained in:
Yuri Tseretyan
2024-08-22 10:51:46 -04:00
committed by GitHub
co-authored by Todd Treece
parent b9f332b9a7
commit d79822db37
17 changed files with 1472 additions and 44 deletions
+6 -3
View File
@@ -1,15 +1,18 @@
go 1.22.4
// 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
./pkg/build/wire // skip:golangci-lint
./pkg/promlib
./pkg/semconv
./pkg/storage/unified/resource
./pkg/util/xorm
./pkg/util/xorm // skip:golangci-lint
)
// when we release xorm we would like to release it like github.com/grafana/grafana/pkg/util/xorm