Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 64acdd5

Browse files
committedAug 3, 2022
Attempting to fix dashboard ci task
1 parent 99c30df commit 64acdd5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed
 

‎.github/workflows/dashboards.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- chart/dashboards/**
1010

11+
env:
12+
golang-version: 1.18.4
13+
1114
jobs:
1215
dashboard-sync:
1316
runs-on: ubuntu-latest
@@ -17,10 +20,14 @@ jobs:
1720
with:
1821
fetch-depth: 0
1922

23+
- name: Set up golang
24+
uses: actions/setup-go@v3
25+
with:
26+
go-version: ${{ env.golang-version }}
27+
2028
- name: Run Dashboard synchronizer
2129
run: |
22-
apt update && apt-get install -y golang ca-certificates && \
2330
go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest && \
2431
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest && \
25-
PATH=$PATH:$HOME/go/bin ./scripts/sync-mixins.sh && \
32+
./scripts/sync-mixins.sh && \
2633
git diff --exit-code

0 commit comments

Comments
 (0)
Please sign in to comment.