Skip to content

Sync package - package version upgrades #1437

Sync package - package version upgrades

Sync package - package version upgrades #1437

Workflow file for this run

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: Restore cache
id: cache
uses: actions/cache@v3
with:
path: |
.pub-cache
apps/**/.dart_tool
packages/**/.dart_tool
key: ${{ runner.os }}-flutter-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-flutter-
- 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
- name: Save cache
uses: actions/cache@v3
with:
path: |
.pub-cache
apps/**/.dart_tool
packages/**/.dart_tool
key: ${{ runner.os }}-flutter-${{ hashFiles('**/pubspec.lock') }}