Skip to content

Commit

Permalink
Update GitHub Actions CI Go matrix for Go v1.22
Browse files Browse the repository at this point in the history
This change adds Go v1.22 to the GitHub Actions CI matrix and drops Go
v1.19 and v1.20 which would no longer receive updates. Also it updates
the golangci-lint version to v1.56 which adds support for Go v1.22.

Signed-off-by: Austin Vazquez <[email protected]>
  • Loading branch information
austinvazquez committed Feb 12, 2024
1 parent d0a2648 commit 8d30f36
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
cache: false # golangci-lint-action does its own caching
- uses: golangci/golangci-lint-action@v3
with:
version: v1.54
version: v1.56

codespell:
runs-on: ubuntu-22.04
Expand All @@ -62,19 +62,19 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
cache: false # golangci-lint-action does its own caching
- uses: golangci/golangci-lint-action@v3
with:
version: v1.54
version: v1.56
- name: test-stubs
run: make test

test:
strategy:
fail-fast: false
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
go-version: [1.21.x, 1.22.x]
race: ["-race", ""]
runs-on: ubuntu-20.04
steps:
Expand Down

0 comments on commit 8d30f36

Please sign in to comment.