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:
Yong Tang 2022-08-10 09:26:44 -07:00 committed by GitHub
parent 086b7d6083
commit c7fe4a0c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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: |