Skip to content

Commit 8302627

Browse files
feat(ci): include token in the codecov action
1 parent 3b0796c commit 8302627

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/code-check.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Test
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- uses: subosito/flutter-action@v2
2121
with:
@@ -27,16 +27,17 @@ jobs:
2727

2828
- name: Upload Coverage to Codecov
2929
if: github.event_name == 'push'
30-
uses: codecov/codecov-action@v3
30+
uses: codecov/codecov-action@v4
3131
with:
32+
token: ${{ secrets.CODECOV_TOKEN }}
3233
files: ./coverage/lcov.info
3334
fail_ci_if_error: true
3435

3536
lint:
3637
name: Lint
3738
runs-on: ubuntu-latest
3839
steps:
39-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v4
4041

4142
- uses: subosito/flutter-action@v2
4243
with:

0 commit comments

Comments
 (0)