Cache
This commit is contained in:
parent
7d526c2e6d
commit
a599ddbfc1
3 changed files with 26 additions and 14 deletions
16
.github/workflows/auth-lint.yml
vendored
16
.github/workflows/auth-lint.yml
vendored
|
@ -6,8 +6,8 @@ on:
|
|||
paths:
|
||||
# - But only if something changes inside auth
|
||||
- "auth/**"
|
||||
# - Or if the there is some change in GitHub workflows themselves
|
||||
- ".github/workflows/**"
|
||||
# - Or if the there is some change in workflow itself
|
||||
- ".github/workflows/auth-lint.yml"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
@ -16,16 +16,20 @@ jobs:
|
|||
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"
|
||||
# Checkout our code, including submodules
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
cache: true
|
||||
|
||||
# Install dependencies
|
||||
- run: flutter pub get
|
||||
|
||||
# Lint
|
||||
- run: flutter analyze --no-fatal-infos
|
||||
|
|
16
.github/workflows/mobile-lint.yml
vendored
16
.github/workflows/mobile-lint.yml
vendored
|
@ -6,8 +6,8 @@ on:
|
|||
paths:
|
||||
# - But only if something changes inside mobile
|
||||
- "mobile/**"
|
||||
# - Or if the there is some change in GitHub workflows themselves
|
||||
- ".github/workflows/**"
|
||||
# - Or if the there is some change in workflow itself
|
||||
- ".github/workflows/mobile-lint.yml"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
@ -16,16 +16,20 @@ jobs:
|
|||
run:
|
||||
working-directory: mobile
|
||||
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"
|
||||
# Checkout our code, including submodules
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
cache: true
|
||||
|
||||
# Install dependencies
|
||||
- run: flutter pub get
|
||||
|
||||
# Lint
|
||||
- run: flutter analyze --no-fatal-infos
|
||||
|
|
8
.github/workflows/web-lint.yml
vendored
8
.github/workflows/web-lint.yml
vendored
|
@ -6,8 +6,8 @@ on:
|
|||
paths:
|
||||
# - But only if something changes inside web
|
||||
- "web/**"
|
||||
# - Or if the there is some change in GitHub workflows themselves
|
||||
- ".github/workflows/**"
|
||||
# - Or if the there is some change in workflow itself
|
||||
- ".github/workflows/mobile-lint.yml"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
@ -17,5 +17,9 @@ jobs:
|
|||
working-directory: web
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: true
|
||||
- run: yarn install
|
||||
- run: yarn lint
|
||||
|
|
Loading…
Add table
Reference in a new issue