[v11.2.x] Chore: Use golanglint-ci-includes script in Makefile (#92320)

Chore: Use golanglint-ci-includes script in Makefile (#91742)

(cherry picked from commit 27545e3da4)

Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-08-22 12:33:20 -04:00
committed by GitHub
co-authored by Todd Treece
parent 7f6d1721ba
commit 312471f3e5
4 changed files with 15 additions and 13 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
INCLUDES=$(go run scripts/go-workspace/main.go list-submodules --path "${REPO_ROOT}/go.work" --delimiter '/... ' --skip golangci-lint)
# ./pkg/... is manually added to cover the root package without including scripts and devenv
printf './pkg/... %s' "${INCLUDES}"
-9
View File
@@ -1,9 +0,0 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
go run scripts/go-workspace/main.go list-submodules --path "${REPO_ROOT}/go.work" --delimiter '/... ' --skip golangci-lint