forked from ente-io/ente
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 946 Bytes
/
auth-lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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