Skip to content

Commit 359d2f0

Browse files
austinvazquezndeloof
authored andcommitted
ci: use .go-version file for actions/setup-go
Signed-off-by: Austin Vazquez <[email protected]>
1 parent c9e0d83 commit 359d2f0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
- name: Set up Go
202202
uses: actions/setup-go@v6
203203
with:
204-
go-version-file: 'go.mod'
204+
go-version-file: '.go-version'
205205
check-latest: true
206206
cache: true
207207

@@ -266,7 +266,7 @@ jobs:
266266
- name: Set up Go
267267
uses: actions/setup-go@v6
268268
with:
269-
go-version-file: 'go.mod'
269+
go-version-file: '.go-version'
270270
check-latest: true
271271
- name: Download unit test coverage
272272
uses: actions/download-artifact@v4

.github/workflows/merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- uses: actions/setup-go@v6
3737
with:
38-
go-version-file: go.mod
38+
go-version-file: '.go-version'
3939
cache: true
4040
check-latest: true
4141

.go-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.24.11

0 commit comments

Comments
 (0)