chore: Bump flutter-actions/setup-flutter from 54feb1e258158303e041b9eaf89314dcfbf6d38a to d4e97a6e7467ef062618c9af927f90bc9651b876 #339
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: Flutter SDK Unit Tests | |
| permissions: | |
| contents: read | |
| # Leverages the Flutter GH Action at https://github.com/marketplace/actions/flutter-action | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Unit Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Project | |
| uses: actions/checkout@v4 | |
| - name: Install and set Flutter version | |
| uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046 # v2.19.0 | |
| with: | |
| flutter-version: "3.x" | |
| channel: "stable" | |
| - name: Install Flutter packages | |
| run: flutter pub get | |
| - name: Analyze | |
| run: flutter analyze | |
| - name: Run Unit Tests | |
| run: flutter test | |
| - name: Run Publish Dry Run | |
| run: flutter pub publish --dry-run |