Files
flutter/.github/workflows/analyze.yml
2026-05-08 15:13:43 +02:00

37 lines
749 B
YAML

name: Analyze
on:
push:
paths:
- '**.dart'
- 'pubspec.yaml'
- 'analysis_options.yaml'
pull_request:
branches: [ master, ]
paths:
- '**/*.dart'
- 'pubspec.yaml'
- 'analysis_options.yaml'
- '.github/actions/flutter-common/action.yml'
- '.github/workflows/analyze.yml'
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
analyze:
name: Run analyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Common flutter setup
uses: ./.github/actions/flutter-common
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze --no-fatal-infos --no-fatal-warnings