mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
ci: use .go-version file for actions/setup-go
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
committed by
Nicolas De loof
parent
c9e0d83e14
commit
359d2f076e
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
|
||||
Reference in New Issue
Block a user