Skip to content

Commit

Permalink
Update CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jogboms authored Jun 9, 2024
1 parent 9fcb16b commit 356710e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- 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

0 comments on commit 356710e

Please sign in to comment.