Skip to content

Fix action return

Fix action return #7

Workflow file for this run

name: Flutter CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Run Analyze
run: flutter analyze --no-fatal-infos ./lib/**/*.dart ./test/**/*.dart
- name: Check format
run: dart format --set-exit-if-changed ./lib ./test
- name: Run tests
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}