Skip to content

Commit

Permalink
pass golang version to grafana-build
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtreece committed Sep 19, 2024
1 parent 90e5740 commit d39be70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
args: go run ./cmd artifacts -a targz:grafana-enterprise:linux/amd64 --grafana-dir=grafana --enterprise-dir=grafana-enterprise --go-version=${GRAFANA_GO_VERSION}

0 comments on commit d39be70

Please sign in to comment.