@@ -16,22 +16,25 @@ jobs:
1616 include :
1717 # Dart framework may contain breaking changes in minor version releases, not following semver.
1818 # The latest Dart framework (below) is tested on all architectures (Ubuntu, macOS, Windows).
19- - name : Dart 3.1 , Ubuntu
19+ - name : Dart 3.3 , Ubuntu
2020 os : ubuntu-latest
21- sdk : 3.1.2
22- - name : Dart 3.1 , macOS
21+ sdk : 3.3.3
22+ - name : Dart 3.3 , macOS
2323 os : macos-latest
24- sdk : 3.1.2
25- - name : Dart 3.1 , Windows
24+ sdk : 3.3.3
25+ - name : Dart 3.3 , Windows
2626 os : windows-latest
27- sdk : 3.1.2
27+ sdk : 3.3.3
2828 # Older Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage.
29+ - name : Dart 3.2
30+ os : ubuntu-latest
31+ sdk : 3.2.6
32+ - name : Dart 3.1
33+ os : ubuntu-latest
34+ sdk : 3.1.5
2935 - name : Dart 3.0
3036 os : ubuntu-latest
3137 sdk : 3.0.7
32- - name : Dart 2.19
33- os : ubuntu-latest
34- sdk : 2.19.6
3538 - name : Dart beta
3639 os : ubuntu-latest
3740 sdk : beta
@@ -64,12 +67,13 @@ jobs:
6467 dart pub global activate coverage
6568 dart pub global run coverage:format_coverage -i coverage/test -o coverage/lcov.info --lcov --packages=.dart_tool/package_config.json --report-on=lib
6669 - name : Upload code coverage
67- uses : codecov/codecov-action@v2
70+ uses : codecov/codecov-action@v4
6871 # Needs to be adapted to collect the coverage at all platforms if platform specific code is added.
6972 if : ${{ always() && matrix.os == 'ubuntu-latest' }}
7073 with :
7174 files : packages/dart/coverage/lcov.info
7275 fail_ci_if_error : true
76+ token : ${{ secrets.CODECOV_TOKEN }}
7377 check-flutter :
7478 runs-on : ${{ matrix.os }}
7579 strategy :
@@ -135,12 +139,13 @@ jobs:
135139 escapedPath="$(echo `pwd` | sed 's/\//\\\//g')"
136140 sed "s/^SF:lib/SF:$escapedPath\/lib/g" coverage/lcov.info > coverage/lcov-full.info
137141 - name : Upload code coverage
138- uses : codecov/codecov-action@v2
142+ uses : codecov/codecov-action@v4
139143 # Needs to be adapted to collect the coverage at all platforms if platform specific code is added.
140144 if : ${{ always() && matrix.os == 'ubuntu-latest' }}
141145 with :
142146 files : packages/flutter/coverage/lcov-full.info
143147 fail_ci_if_error : true
148+ token : ${{ secrets.CODECOV_TOKEN }}
144149concurrency :
145150 group : ${{ github.workflow }}-${{ github.ref }}
146151 cancel-in-progress : true
0 commit comments