Skip to content

Fix warnings on stable #30

Fix warnings on stable

Fix warnings on stable #30

Workflow file for this run

name: checks
on:
pull_request:
branches:
- main
paths:
- '.github/workflows/checks.yml'
- '**/lib/**'
- '**/android/**'
- '**/ios/**'
- '**/web/**'
- '**/macos/**'
- '**/windows/**'
- '**/pubspec.yaml'
- '**/test/**'
- '**/assets/**'
jobs:
analyze:
timeout-minutes: 7
runs-on: ubuntu-latest
name: ${{ matrix.package }} analysis on ${{ matrix.channel }}
strategy:
matrix:
channel:
- 'stable'
- 'beta'
- 'master'
package:
- 'fireworks'
- 'fireworks_counter'
- 'fireworks_demo'
fail-fast: false
env:
working-directory: ${{ matrix.package }}
steps:
- uses: actions/[email protected]
- uses: subosito/[email protected]
with:
channel: ${{ matrix.channel }}
- name: pub get
run: flutter pub get
working-directory: ${{ env.working-directory }}
- name: dart format
run: dart format . --fix --set-exit-if-changed
working-directory: ${{ env.working-directory }}
- run: dart analyze
working-directory: ${{ env.working-directory }}