Skip to content

Fix web builds

Fix web builds #34

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'
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 }}