ci(codecov): fix stale comparison base and invalid config

Signed-off-by: Bob Du <i@bobdu.cc>
This commit is contained in:
Bob Du 2026-09-01 14:26:33 +08:00
parent dcaa4296d1
commit c1dfdce90f
No known key found for this signature in database
GPG Key ID: 0653ADC1B39FFF6B
2 changed files with 6 additions and 1 deletions

View File

@ -30,6 +30,9 @@ jobs:
args: --verbose
test:
needs: lint
permissions:
contents: read
id-token: write
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
@ -80,4 +83,5 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
use_oidc: true
flags: ${{ matrix.os }},go-${{ matrix.go }},${{ matrix.test-tags }}

View File

@ -1,6 +1,7 @@
coverage:
codecov:
require_ci_to_pass: true
coverage:
status:
project:
default: