fix(ci): unblock release and cross-platform test pipeline

Align golangci config with CI runner support, skip unsupported Windows race execution, and allow release-please to use a PAT fallback token for PR creation when GITHUB_TOKEN is restricted.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-02 20:10:44 +01:00
co-authored by Cursor
parent d44b56848b
commit 76b4f499c0
3 changed files with 6 additions and 8 deletions
+5
View File
@@ -50,8 +50,13 @@ jobs:
run: go build ./...
- name: Run tests with race detector and shuffle
if: runner.os != 'Windows'
run: go test -race -shuffle=on -count=1 -coverprofile=coverage.out -covermode=atomic ./...
- name: Run tests with shuffle
if: runner.os == 'Windows'
run: go test -shuffle=on -count=1 -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage
if: matrix.os == 'ubuntu-latest' && matrix.go == 'stable'
uses: codecov/codecov-action@v5