chore: Bump version to 0.4.0 #186
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: On Pull Request | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: | |
| - "*" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| channel: "stable" | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Format | |
| run: dart format --set-exit-if-changed lib test example | |
| - name: Analyzing project | |
| run: flutter analyze | |
| - name: Run tests | |
| run: flutter test --no-pub --coverage --test-randomize-ordering-seed random | |
| - name: Check Code Coverage | |
| uses: VeryGoodOpenSource/very_good_coverage@v1.1.1 | |
| with: | |
| path: coverage/lcov.info | |
| min_coverage: 90 | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |