Merge pull request #570 from unpoller/upgrade-go-1-20

upgrade go version to 1.20.x
This commit is contained in:
Cody Lee 2023-06-20 15:12:28 -04:00 committed by GitHub
commit 2f28df2a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ jobs:
test:
strategy:
matrix:
go: [1.19]
go: ["1.20"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
@ -33,7 +33,7 @@ jobs:
lint:
strategy:
matrix:
go: [1.19]
go: ["1.20"]
os: [ubuntu-latest]
name: lint
runs-on: ${{ matrix.os }}
@ -47,7 +47,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.50.1
version: v1.53
# Optional: working directory, useful for monorepos
# working-directory: somedir

View File

@ -50,7 +50,7 @@ jobs:
run: gem install package_cloud
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.3'
go-version: '>=1.20.5'
cache: true
# More assembly might be required: Docker logins, GPG, etc. It all depends
# on your needs.