Skip to content

Develop

Develop #25

Workflow file for this run

name: FlutterGuard
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
validate:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: "3.11.5"
- name: Install dependencies
run: dart pub get
- name: Analyze
run: dart analyze
- name: Test
run: dart test
- name: Scan demo with current checkout
run: dart run bin/flutterguard.dart scan example --format json --output .flutterguard/ci --fail-on high --no-color
- name: Upload report
if: always()
uses: actions/upload-artifact@v4
with:
name: flutterguard-report-${{ matrix.os }}
path: example/.flutterguard/ci/report.json
if-no-files-found: error