ente/.github/workflows/auth-lint.yml
2024-03-04 15:58:52 +05:30

36 lines
946 B
YAML

name: "Lint (auth)"
on:
# Run on every push (this also covers pull requests)
push:
paths:
# - But only if something changes inside auth
- "auth/**"
# - Or if the there is some change in workflow itself
- ".github/workflows/auth-lint.yml"
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
steps:
# Checkout our code, including submodules
- uses: actions/checkout@v4
with:
submodules: recursive
# Install Flutter
- uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.13.4"
cache: true
# Install dependencies
- run: flutter pub get
# Lint
- run: flutter analyze --no-fatal-infos