Skip to content

Commit bfe15be

Browse files
committed
Update GitHub actions and fix codecov.
1 parent c196a83 commit bfe15be

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/dart.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
name: "Dart CI"
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/cache@v3
19+
- uses: actions/cache@v4
2020
with:
2121
path: "~/.pub-cache/hosted"
2222
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable"
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
- uses: dart-lang/setup-dart@v1
2525
- name: "Dependencies"
2626
run: dart pub upgrade --no-precompile
@@ -37,12 +37,14 @@ jobs:
3737
dart pub global activate coverage
3838
dart pub global run coverage:test_with_coverage --test test/all_test.dart
3939
- name: "Upload coverage"
40-
uses: codecov/codecov-action@v3
40+
uses: codecov/codecov-action@v5
41+
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
4143
check:
4244
name: "Flutter CI"
4345
runs-on: ubuntu-latest
4446
steps:
45-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4648
- uses: amake/dart-flutter-compat@v1
4749
with:
4850
channel: stable

0 commit comments

Comments
 (0)