mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 16:54:15 -04:00
Update default Go version
Update build to use Go 1.22. * Fixup one CI test to use Go version from environment. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
5
.github/workflows/go.test.yml
vendored
5
.github/workflows/go.test.yml
vendored
@@ -58,10 +58,13 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Go Version
|
||||||
|
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '~1.21.0'
|
go-version: ${{ env.GO_VERSION }}
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.21.8
|
1.22.1
|
||||||
|
|||||||
Reference in New Issue
Block a user