mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
CHORE: Increase minimum Go version to 1.21 (#2590)
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.20
|
||||
image: golang:1.21
|
||||
env:
|
||||
TEST_RESULTS: "/tmp/test-results"
|
||||
steps:
|
||||
@ -95,7 +95,7 @@ jobs:
|
||||
needs: integration-test-providers
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.20
|
||||
image: golang:1.21
|
||||
env:
|
||||
TEST_RESULTS: "/tmp/test-results"
|
||||
GOTESTSUM_FORMAT: testname
|
||||
@ -199,7 +199,7 @@ jobs:
|
||||
if: github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main'
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.20
|
||||
image: golang:1.21
|
||||
needs:
|
||||
- integration-test-providers
|
||||
- integrtests-diff1
|
||||
|
2
.github/workflows/draft_release.yml
vendored
2
.github/workflows/draft_release.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ^1.21
|
||||
|
||||
# For some reason goreleaser isn't correctly setting the version
|
||||
# string used by "dnscontrol version". Therefore, we're forcing the
|
||||
|
2
.github/workflows/release.yml.DISABLED
vendored
2
.github/workflows/release.yml.DISABLED
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ^1.20
|
||||
go-version: ^1.21
|
||||
|
||||
- name: Build binaries
|
||||
run: go run build/build.go
|
||||
|
Reference in New Issue
Block a user