mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-12-04 05:43:27 +01:00
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:
1 parent
ed736496fc
commit
6d6191b4c6
6 files changed
+16
-16
No files matched your search
@@ -40,4 +40,4 @@ jobs:
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
with:
|
||||
version: v2.10
|
||||
version: v2.14
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user