From d6950ed379ba032cf7775f528cc778f9f5d5c3dd Mon Sep 17 00:00:00 2001 From: Aaron Alpar Date: Sun, 8 Mar 2026 15:46:50 -0700 Subject: [PATCH] Use Codecov token for coverage uploads The codecov-action v5 requires an explicit token for private repos and recommends it for public repos to avoid rate-limit failures. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0d4ba0..c9d7bb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,11 @@ jobs: - name: Test run: go test -race -coverprofile=coverage.out ./... - - name: Upload coverage + - name: Upload coverage reports to Codecov if: matrix.go-version == '1.23' uses: codecov/codecov-action@v5 with: - files: coverage.out + token: ${{ secrets.CODECOV_TOKEN }} container: runs-on: ubuntu-latest