Also add a auth lint
This commit is contained in:
parent
d845be6691
commit
7d526c2e6d
1 changed files with 31 additions and 0 deletions
31
.github/workflows/auth-lint.yml
vendored
Normal file
31
.github/workflows/auth-lint.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: "Lint (mobile)"
|
||||
|
||||
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 GitHub workflows themselves
|
||||
- ".github/workflows/**"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: auth
|
||||
steps:
|
||||
# Install Flutter
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: "stable"
|
||||
flutter-version: "3.13.4"
|
||||
# Checkout our code, including submodules
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
# Install dependencies
|
||||
- run: flutter pub get
|
||||
# Lint
|
||||
- run: flutter analyze --no-fatal-infos
|
Loading…
Add table
Reference in a new issue