Update 2024 #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |