ci: use .go-version file for actions/setup-go

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
Austin Vazquez
2025-12-09 09:32:27 -06:00
committed by Nicolas De loof
parent c9e0d83e14
commit 359d2f076e
3 changed files with 4 additions and 3 deletions

View File

@@ -201,7 +201,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
go-version-file: '.go-version'
check-latest: true
cache: true
@@ -266,7 +266,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
go-version-file: '.go-version'
check-latest: true
- name: Download unit test coverage
uses: actions/download-artifact@v4

View File

@@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
go-version-file: '.go-version'
cache: true
check-latest: true

1
.go-version Normal file
View File

@@ -0,0 +1 @@
1.24.11