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

View File

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