ci: pin golangci-lint 2.14, add -race, fix golden updates (#674)

Local v2.14 and CI v2.10 disagreed on gofumpt; extra.group-params keeps v2.10's rules exactly.
go test ./... -update failed in the 12 packages that never import golden, so it is HBD_UPDATE_GOLDEN=1 now.
This commit is contained in:
Roger authored and GitHub committed 2026-11-01 23:39:04 +08:00
1 parent ed736496fc
commit 6d6191b4c6
6 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -40,4 +40,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.10
version: v2.14
+2 -2
View File
@@ -29,9 +29,9 @@ jobs:
if: matrix.os == 'windows-latest'
run: go test -v ./...
- name: Run tests with coverage
- name: Run tests with race detector and coverage
if: matrix.os != 'windows-latest'
run: go test -v -coverprofile=coverage.out ./...
run: go test -v -race -coverprofile=coverage.out ./...
- name: Upload coverage
if: matrix.os == 'ubuntu-latest'