ente/.github/workflows/auth-lint.yml
Manav Rathi 54c9cdeed8
[web] Switch to (almost) continuous deployments
Every day except Sunday, at 8:00 am, the code on main will be automatically
deployed to production for all web apps (photos, auth, cast, accounts, payments)
2024-05-10 19:43:15 +05:30

39 lines
1,021 B
YAML

name: "Lint (auth)"
on:
# Run on every push to a branch other than main that changes auth/
push:
branches-ignore: [main]
paths:
- "auth/**"
- ".github/workflows/auth-lint.yml"
env:
FLUTTER_VERSION: "3.19.3"
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: auth
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
- name: Verify custom icon JSON
run: cat assets/custom-icons/_data/custom-icons.json | jq empty