Merge pull request #348 from Dev-ElvisTobi/main #1
This file contains hidden or 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: Mobile CI | |
| on: | |
| pull_request: | |
| paths: | |
| - "ignition-mobile/**" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "ignition-mobile/**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ignition-mobile | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dart-lang/setup-dart@v1 | |
| - name: Install dependencies | |
| run: dart pub get | |
| - name: Analyze Dart code | |
| run: dart analyze | |
| - name: Run Dart tests | |
| run: dart test | |
| - name: Check formatting | |
| run: dart format --set-exit-if-changed . |