Bump firebase_crashlytics from 5.0.5 to 5.0.7 #39
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
| # Some code was taken from - https://github.com/PlugFox/template/tree/master/.github | |
| name: Flutter Checks | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| - '!main' | |
| pull_request: | |
| branches: | |
| - '**' | |
| - '!main' | |
| jobs: | |
| flutter-checks: | |
| name: Run Flutter Checks | |
| runs-on: ubuntu-latest # macos-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Get the .github actions | |
| uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: ./.github/actions/setup | |
| with: | |
| flutter-version: "3.35.5" | |
| - name: Install dependencies | |
| timeout-minutes: 1 | |
| run: flutter pub get | |
| - name: 🚦 Check code format | |
| id: check-format | |
| timeout-minutes: 1 | |
| run: | | |
| if ! find lib test -name "*.dart" ! -name "*.*.dart" -print0 | xargs -0 dart format --set-exit-if-changed --line-length 100 -o none; then | |
| echo "⚠️ Code needs formatting. Run 'dart format' locally." | |
| fi | |
| # - name: Run build_runner | |
| # run: dart run build_runner build --delete-conflicting-outputs | |
| - name: Check for Warnings | |
| id: check-analyzer | |
| timeout-minutes: 1 | |
| run: | | |
| flutter analyze --no-fatal-infos --no-fatal-warnings || true | |
| - name: Run tests | |
| run: flutter test |