chore(deps): bump go/stdlib to v1.20.x (#1850)

This commit is contained in:
nils måsén 2023-11-13 14:31:45 +01:00 committed by GitHub
parent 69d9e7f297
commit 7fbdd2f49b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 66 additions and 50 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- name: Build tplprev
run: scripts/build-tplprev.sh
- name: Setup python

View file

@ -18,10 +18,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- uses: dominikh/staticcheck-action@ba605356b4b29a60e87ab9404b712f3461e566dc #v1.3.0
with:
version: "2022.1.1"
version: "2023.1.6"
install-go: "false" # StaticCheck uses go v1.17 which does not support `any`
test:
name: Test
@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
go-version:
- 1.18.x
- 1.20.x
platform:
- macos-latest
- windows-latest
@ -43,7 +43,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- name: Run tests
run: |
go test -v -coverprofile coverage.out -covermode atomic ./...
@ -62,7 +62,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- name: Build
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 #v3
with:

View file

@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: 1.20
- name: Build
run: ./build.sh
test:
@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version: 1.20
- name: Test
run: go test -v -coverprofile coverage.out -covermode atomic ./...
- name: Publish coverage

View file

@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- uses: dominikh/staticcheck-action@ba605356b4b29a60e87ab9404b712f3461e566dc #v1.3.0
with:
version: "2022.1.1"
@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
go-version:
- 1.18.x
- 1.20.x
platform:
- ubuntu-latest
- macos-latest
@ -46,7 +46,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- name: Run tests
run: |
go test ./... -coverprofile coverage.out
@ -68,7 +68,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.x
go-version: 1.20.x
- name: Login to Docker Hub
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc #v2
with: