mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Updated go versions used in workflows to 1.21 (#6260)
* Updated go versions used in workflows to 1.21 Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in> Co-authored-by: RadhaKrishna <radha.peteti@appdynamics.com>
This commit is contained in:
2
.github/workflows/go.coverage.yml
vendored
2
.github/workflows/go.coverage.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '~1.20.0'
|
go-version: '~1.21.0'
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
6
.github/workflows/go.test.yml
vendored
6
.github/workflows/go.test.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '~1.20.0'
|
go-version: '~1.21.0'
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '~1.20.0'
|
go-version: '~1.21.0'
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '~1.20.0'
|
go-version: '~1.21.0'
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '~1.20.0'
|
go-version: '~1.21.0'
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v3.6.0
|
uses: golangci/golangci-lint-action@v3.6.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/make.doc.yml
vendored
2
.github/workflows/make.doc.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '~1.20.0'
|
go-version: '~1.21.0'
|
||||||
|
|
||||||
- name: Update Docs
|
- name: Update Docs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ CoreDNS requires Go to compile. However, if you already have docker installed an
|
|||||||
setup a Go environment, you could build CoreDNS easily:
|
setup a Go environment, you could build CoreDNS easily:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.20 make
|
$ docker run --rm -i -t -v $PWD:/v -w /v golang:1.21 make
|
||||||
```
|
```
|
||||||
|
|
||||||
The above command alone will have `coredns` binary generated.
|
The above command alone will have `coredns` binary generated.
|
||||||
|
|||||||
Reference in New Issue
Block a user