build: use go1.22 for the linter to fix excess memory usage

golangci-lint seems to have a bug which uses excess memory under go1.23

See: https://github.com/golangci/golangci-lint/issues/4874
This commit is contained in:
Nick Craig-Wood 2024-07-18 18:08:12 +01:00
parent 8958d06456
commit 485aa90d13

View File

@ -237,7 +237,7 @@ jobs:
id: setup-go
uses: actions/setup-go@v5
with:
go-version: '>=1.23.0-rc.1'
go-version: '>=1.22.0-rc.1'
check-latest: true
cache: false