chore(go): bump go to 1.22

This commit is contained in:
Jan Rundshagen 2024-07-08 15:15:43 +02:00 committed by Jan O. Rundshagen
parent 3c3749d9a7
commit 95cbb7ff4b
8 changed files with 53 additions and 205 deletions

View file

@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x
- uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
with:
version: "2023.1.6"
@ -29,7 +29,7 @@ jobs:
fail-fast: false
matrix:
go-version:
- 1.20.x
- 1.22.x
platform:
- macos-latest
- windows-latest
@ -43,7 +43,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.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@v5
with:
go-version: 1.20.x
go-version: 1.22.x
- name: Build
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with: