Fix/dart UI #39
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Dart | |
on: | |
pull_request: | |
branches: [ "main" ] | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
- name: Install dependencies | |
run: flutter pub get && flutter pub get -C code_generator | |
- name: Verify formatting | |
run: dart format --line-length 120 --output=none --set-exit-if-changed . | |
- name: Analyze project source | |
run: dart analyze | |
- name: Run tests | |
run: cd code_generator && dart test && cd .. |