Commit c7fe4a0c authored by Yong Tang's avatar Yong Tang Committed by GitHub

Bump golang to 1.19 (#5564)

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

Fix golang lint
Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 086b7d60
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
......@@ -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: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment