Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Watch for changes in the workflow itself

Manav Rathi4ebbed82d6bf
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml
index 1a8bf38a17..577bdca5f1 100644
--- a/.github/workflows/mobile-lint.yml
+++ b/.github/workflows/mobile-lint.yml
@@ -3,9 +3,11 @@ name: "Lint (mobile)"
on:
# Run on every push (this also covers pull requests)
push:
- # But only if something changes inside mobile
paths:
+ # - But only if something changes inside mobile
- "mobile/**"
+ # - Or if the there is some change in GitHub workflows themselves
+ - ".github/workflows/**"
jobs:
lint:
@@ -14,9 +16,16 @@ jobs:
run:
working-directory: mobile
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
- - run: flutter test
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index dec6d61b56..8154c79553 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -3,9 +3,11 @@ name: "Lint (web)"
on:
# Run on every push (this also covers pull requests)
push:
- # But only if something changes inside web
paths:
+ # - But only if something changes inside web
- "web/**"
+ # - Or if the there is some change in GitHub workflows themselves
+ - ".github/workflows/**"
jobs:
lint: