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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user