From 83026276169bf3183576cc4096d3be8562765ef8 Mon Sep 17 00:00:00 2001 From: ricardodalarme Date: Mon, 6 May 2024 09:47:01 -0300 Subject: [PATCH] feat(ci): include token in the codecov action --- .github/workflows/code-check.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml index 35f4480..2441f6f 100644 --- a/.github/workflows/code-check.yml +++ b/.github/workflows/code-check.yml @@ -15,7 +15,7 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: @@ -27,8 +27,9 @@ jobs: - name: Upload Coverage to Codecov if: github.event_name == 'push' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage/lcov.info fail_ci_if_error: true @@ -36,7 +37,7 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: subosito/flutter-action@v2 with: