Skip to content

Commit de167a8

Browse files
committed
install explicit go version
1 parent 8fb9c23 commit de167a8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/renovate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,8 @@
3535
},
3636
"env": {
3737
"GOTOOLCHAIN": "go1.21.13"
38+
},
39+
"constraints": {
40+
"go": "1.21"
3841
}
3942
}

.github/workflows/renovate.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,24 @@ on:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

8+
env:
9+
GOVERSION: 1.21.13
10+
811
jobs:
912
renovate:
1013
name: Renovate
1114
runs-on: ubuntu-latest
1215
steps:
1316
- name: Checkout
1417
uses: actions/checkout@v4
18+
- name: Install Go ${{env.GOVERSION}}
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version: ${{env.GOVERSION}}
1522
- name: Self-hosted Renovate
1623
uses: renovatebot/[email protected]
24+
env:
25+
GOTOOLCHAIN: go1.21.13
1726
with:
1827
configurationFile: .github/renovate.json
1928
token: ${{ secrets.RENOVATE_TOKEN }}

0 commit comments

Comments
 (0)