Skip to content

Commit fce032d

Browse files
buenaflorclaude
andcommitted
ci: Replace deprecated test-results-action with codecov-action
The codecov/test-results-action is deprecated in favor of using codecov/codecov-action with report_type: test_results. Migrate both dart.yml and logging.yml to use codecov-action@v5.5.2 with the new report_type parameter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ee43621 commit fce032d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/dart.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ jobs:
5353

5454
- name: Upload test results to Codecov
5555
if: ${{ !cancelled() && matrix.sdk == 'stable' }}
56-
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # pin@v1.2.1
56+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@v5.5.2
5757
with:
5858
token: ${{ secrets.CODECOV_TOKEN }}
5959
name: dart-tests-${{ runner.os }}-${{ matrix.sdk }}
6060
flags: dart-${{ matrix.os }}
61+
report_type: test_results
6162
verbose: true
6263

6364
- name: Build example

.github/workflows/logging.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ jobs:
4747

4848
- name: Upload test results to Codecov
4949
if: ${{ !cancelled() && matrix.sdk == 'stable' }}
50-
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # pin@v1.2.1
50+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@v5.5.2
5151
with:
5252
token: ${{ secrets.CODECOV_TOKEN }}
5353
name: logging-tests-${{ runner.os }}-${{ matrix.sdk }}
5454
flags: logging-${{ matrix.os }}
55+
report_type: test_results
5556
verbose: true
5657

5758
analyze:

0 commit comments

Comments
 (0)