bump Go version in go.mod, stop testing on Go 1.21 (#4633)

* bump Go version in go.mod, stop testing on Go 1.21

* ci: update golangci-lint to v1.60.1

* ignore Go 1.23 0-RTT events in exhaustive linter
This commit is contained in:
Marten Seemann
2024-08-17 15:30:03 +08:00
committed by GitHub
parent b3811692d9
commit d067fe4156
10 changed files with 21 additions and 16 deletions

View File

@@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: "1.23.x"
- name: Check that no non-test files import Ginkgo or Gomega
run: .github/workflows/no_ginkgo.sh
- name: Check for //go:build ignore in .go files
@@ -39,9 +39,9 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.21.x", "1.22.x" ]
go: [ "1.22.x", "1.23.x" ]
env:
GOLANGCI_LINT_VERSION: v1.58.0
GOLANGCI_LINT_VERSION: v1.60.1
name: golangci-lint (Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v4