mirror of
https://github.com/docker/compose.git
synced 2026-08-04 06:38:45 +00:00
ci: use .go-version file for actions/setup-go
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
parent
c9e0d83e14
commit
359d2f076e
3 changed files with 4 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/merge.yml
vendored
2
.github/workflows/merge.yml
vendored
|
|
@ -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
1
.go-version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1.24.11
|
||||
Loading…
Add table
Add a link
Reference in a new issue