Release/1.2.36 #1592
Workflow file for this run
This file contains 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
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.24' | |
cache: true | |
# This step requires fetch of test_integration packages because flutter format and | |
# flutter analyze check test_integration package too | |
- name: 'Install dependencies' | |
run: | | |
flutter pub get | |
cd test_integration && flutter pub get | |
- name: 'Check formatting issues in the code' | |
run: dart format --set-exit-if-changed . | |
- name: 'Statically analyze the Dart code for any errors' | |
run: 'flutter analyze --no-pub .' | |
- name: 'Run unit tests' | |
run: flutter test --no-pub |