diff --git a/.github/workflows/pr-integration-tests.yml b/.github/workflows/pr-integration-tests.yml index 19b018b..7afc348 100644 --- a/.github/workflows/pr-integration-tests.yml +++ b/.github/workflows/pr-integration-tests.yml @@ -49,15 +49,17 @@ jobs: sudo rm -rf /usr/share/dotnet sudo rm -rf /usr/share/swift df -h + - name: Get Grafana golang version + run: echo "GRAFANA_GO_VERSION=$(grep "go 1." grafana/go.work | cut -d\ -f2)" >> "$GITHUB_ENV" - name: OSS tests uses: dagger/dagger-for-github@v6 if: matrix.type == 'oss' with: verb: run - args: go run ./cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir=grafana + args: go run ./cmd artifacts -a targz:grafana:linux/amd64 --grafana-dir=grafana --go-version=${GRAFANA_GO_VERSION} - name: Enterprise tests uses: dagger/dagger-for-github@v6 if: matrix.type == 'enterprise' with: verb: run - args: go run ./cmd artifacts -a targz:grafana-enterprise:linux/amd64 --grafana-dir=grafana --enterprise-dir=grafana-enterprise \ No newline at end of file + args: go run ./cmd artifacts -a targz:grafana-enterprise:linux/amd64 --grafana-dir=grafana --enterprise-dir=grafana-enterprise --go-version=${GRAFANA_GO_VERSION} \ No newline at end of file