fix(ci): make lint and windows tests reliable

Run golangci-lint v2 via go install to match the active Go toolchain, and remove Windows coverprofile generation that PowerShell resolves incorrectly as package .out.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-02 20:17:19 +01:00
co-authored by Cursor
parent 26aa51360b
commit a6a51ec3ef
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
- name: Run tests with shuffle
if: runner.os == 'Windows'
run: go test -shuffle=on -count=1 -coverprofile=coverage.out -covermode=atomic ./...
run: go test -shuffle=on -count=1 ./...
- name: Upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.go == 'stable'