We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c30df commit 64acdd5Copy full SHA for 64acdd5
.github/workflows/dashboards.yml
@@ -8,6 +8,9 @@ on:
8
paths:
9
- chart/dashboards/**
10
11
+env:
12
+ golang-version: 1.18.4
13
+
14
jobs:
15
dashboard-sync:
16
runs-on: ubuntu-latest
@@ -17,10 +20,14 @@ jobs:
17
20
with:
18
21
fetch-depth: 0
19
22
23
+ - name: Set up golang
24
+ uses: actions/setup-go@v3
25
+ with:
26
+ go-version: ${{ env.golang-version }}
27
28
- name: Run Dashboard synchronizer
29
run: |
- apt update && apt-get install -y golang ca-certificates && \
30
go install github.com/monitoring-mixins/mixtool/cmd/mixtool@latest && \
31
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest && \
- PATH=$PATH:$HOME/go/bin ./scripts/sync-mixins.sh && \
32
+ ./scripts/sync-mixins.sh && \
33
git diff --exit-code
0 commit comments