Ml sync fix #1490
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: "Lint (mobile)" | |
on: | |
# Run on every pull request (open or push to it) that changes mobile/ | |
pull_request: | |
paths: | |
- "mobile/**" | |
- ".github/workflows/mobile-lint.yml" | |
env: | |
FLUTTER_VERSION: "3.24.3" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: mobile | |
steps: | |
- name: Checkout code and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Flutter ${{ env.FLUTTER_VERSION }} | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
cache: true | |
- run: flutter pub get | |
- run: flutter analyze --no-fatal-infos |