1.6 final dev #1582
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
name: Run analysis and tests | |
on: | |
push: | |
branches: ['develop', 'master', 'qa', 'demo', 'uat'] | |
pull_request: | |
branches: ['develop', 'master', 'qa', 'demo', 'uat'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Flutter action | |
uses: subosito/[email protected] | |
with: | |
flutter-version: "3.22.1" | |
- name: Clean previous builds | |
run: flutter clean | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Generate models | |
run: ./tools/install_bricks.sh | |
- name: Analyze code | |
run: melos run analyze |