mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
Bump golang to 1.19 (#5564)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Fix golang lint Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
2
.github/workflows/go.coverage.yml
vendored
2
.github/workflows/go.coverage.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18.0'
|
||||
go-version: '1.19.0'
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
|
||||
6
.github/workflows/go.test.yml
vendored
6
.github/workflows/go.test.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18.0'
|
||||
go-version: '1.19.0'
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18.0'
|
||||
go-version: '1.19.0'
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18.0'
|
||||
go-version: '1.19.0'
|
||||
id: go
|
||||
|
||||
- name: Check out code
|
||||
|
||||
2
.github/workflows/go.tidy.yml
vendored
2
.github/workflows/go.tidy.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18.0'
|
||||
go-version: '1.19.0'
|
||||
id: go
|
||||
|
||||
- name: Checkout
|
||||
|
||||
11
.github/workflows/golangci-lint.yml
vendored
11
.github/workflows/golangci-lint.yml
vendored
@@ -8,9 +8,10 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18'
|
||||
go-version: '1.19.0'
|
||||
- uses: actions/checkout@v3
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.46.2
|
||||
# See https://github.com/golangci/golangci-lint-action/issues/442#issuecomment-1203786890
|
||||
- name: Install golangci-lint
|
||||
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3
|
||||
- name: Run golangci-lint
|
||||
run: golangci-lint run --version --verbose --out-format=github-actions
|
||||
|
||||
2
.github/workflows/make.doc.yml
vendored
2
.github/workflows/make.doc.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@84cbf8094393cdc5fe1fe1671ff2647332956b1a
|
||||
with:
|
||||
go-version: '1.18.0'
|
||||
go-version: '1.19.0'
|
||||
|
||||
- name: Update Docs
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user