Prepare release 0.1.1 #3
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: Tests | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| - name: Disable Flutter analytics | |
| run: flutter config --no-analytics | |
| - name: Get dependencies | |
| run: flutter pub get | |
| - name: Check formatting | |
| run: dart format --set-exit-if-changed . | |
| - name: Analyze | |
| run: flutter analyze | |
| - name: Run tests | |
| run: flutter test | |
| - name: Check pub publish | |
| run: dart pub publish --dry-run |