ente/.github/workflows/auth-lint.yml

37 lines
982 B
YAML

name: "Lint (auth)"
on:
# Run on every push to branches (this also covers pull requests)
push:
# See: [Note: Specify branch when specifying a path filter]
branches: ["**"]
# Only run if something changes in these paths
paths:
- "auth/**"
- ".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