Skip to content

Run CI Flutter downgrade analyze #40

Run CI Flutter downgrade analyze

Run CI Flutter downgrade analyze #40

name: Run CI Flutter downgrade analyze
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # every sunday at midnight
jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.flutter }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: .
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
flutter: stable
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11.x'
- uses: subosito/flutter-action@v2
with:
channel: ${{ matrix.flutter }}
- run: dart --version
- run: flutter --version
- run: dart pub global activate dev_build
- run: dart pub global run dev_build:run_ci --pub-downgrade --analyze --no-override --recursive