From 356710e470c56141a6cd0728ae94f884a8d2d53a Mon Sep 17 00:00:00 2001 From: Jeremiah Ogbomo Date: Sun, 9 Jun 2024 08:30:09 +0200 Subject: [PATCH] Update CI dependencies --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce3948f..e549e63 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' @@ -24,16 +24,14 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: 'stable' - flutter-version: '3.10.5' cache: true - cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' - cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' - run: flutter pub get - run: dart format --set-exit-if-changed -l 120 lib -l 120 example - run: flutter analyze lib example - run: flutter test --no-pub --coverage - name: Upload coverage to codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true