ci: upgrade to codecov/codecov-action@v5 (#2842)
This commit is contained in:
@@ -84,7 +84,7 @@ runs:
|
||||
run: echo "package_name=${PACKAGE_PATH##*/}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: 📊 Upload Coverage
|
||||
uses: codecov/codecov-action@v3
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
flags: ${{ steps.split.outputs.package_name }}
|
||||
token: ${{ inputs.codecov_token }}
|
||||
|
||||
+3
-2
@@ -11,12 +11,13 @@ coverage:
|
||||
default:
|
||||
target: 100%
|
||||
|
||||
ignore:
|
||||
# Ignore coverage for generated code (e.g. json_serializable).
|
||||
- "**/**.g.dart"
|
||||
# Packages in third_party don't have 100% coverage, which shouldn't prevent
|
||||
# us from landing. Ideally, this would be configured to allow a non-100% base
|
||||
# and enforce that all changes have 100% coverage of affected lines.
|
||||
ignore:
|
||||
- third_party
|
||||
- lib/**.g.dart
|
||||
|
||||
flag_management:
|
||||
default_rules: # the rules that will be followed for any flag added, generally
|
||||
|
||||
Reference in New Issue
Block a user