Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tidy mobile lint workflows

Manav Rathi6f7085623420
diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.yml
index 5b4257aea6..3bc005a7ee 100644
--- a/.github/workflows/auth-lint.yml
+++ b/.github/workflows/auth-lint.yml
@@ -1,11 +1,10 @@
name: "Lint (auth)"
on:
- # Run on every pull request (open or push to it) that changes auth app
pull_request:
paths:
- - "mobile/apps/auth/**"
- ".github/workflows/auth-lint.yml"
+ - "mobile/apps/auth/**"
- "mobile/scripts/check_source_arb_plurals.rb"
env:
@@ -88,8 +87,6 @@ jobs:
- run: dart format --output=none --set-exit-if-changed .
- - name: Analyze auth
- run: flutter analyze --no-fatal-infos
+ - run: flutter analyze --no-fatal-infos
- - name: Test auth
- run: flutter test
+ - run: flutter test
diff --git a/.github/workflows/locker-lint.yml b/.github/workflows/locker-lint.yml
index 822bc58f59..51f0c275e4 100644
--- a/.github/workflows/locker-lint.yml
+++ b/.github/workflows/locker-lint.yml
@@ -4,17 +4,17 @@ on:
# Run on every pull request (open or push to it) that changes locker app
pull_request:
paths:
+ - ".github/workflows/locker-lint.yml"
- "mobile/apps/locker/**"
- "mobile/packages/contacts/**"
- "mobile/packages/legacy/**"
- "mobile/packages/rust/**"
- "mobile/packages/sharing/**"
+ - "mobile/scripts/check_source_arb_plurals.rb"
- "rust/bindings/frb/ente-rust/**"
- "rust/apps/codegen/**"
- "rust/Cargo.lock"
- "rust/Cargo.toml"
- - ".github/workflows/locker-lint.yml"
- - "mobile/scripts/check_source_arb_plurals.rb"
env:
FLUTTER_VERSION: "3.38.10"
@@ -29,7 +29,7 @@ jobs:
run:
working-directory: mobile/apps/locker
steps:
- - name: Checkout code
+ - name: Checkout
uses: actions/checkout@v6
- name: Verify frozen mobile pubspecs
@@ -64,8 +64,6 @@ jobs:
- run: dart format --output=none --set-exit-if-changed .
- - name: Analyze locker
- run: flutter analyze --no-fatal-infos
+ - run: flutter analyze --no-fatal-infos
- - name: Test locker
- run: flutter test
+ - run: flutter test
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml
index 9dcc584083..a7d728b7b2 100644
--- a/.github/workflows/mobile-lint.yml
+++ b/.github/workflows/mobile-lint.yml
@@ -5,7 +5,9 @@ on:
# Photos Rust, or shared Rust crates used by Photos
pull_request:
paths:
+ - ".github/workflows/mobile-lint.yml"
- "mobile/apps/photos/**"
+ - "mobile/scripts/check_source_arb_plurals.rb"
- "rust/crates/photos/**"
- "rust/crates/core/**"
- "rust/crates/contacts/**"
@@ -14,8 +16,6 @@ on:
- "rust/apps/codegen/**"
- "rust/Cargo.lock"
- "rust/Cargo.toml"
- - ".github/workflows/mobile-lint.yml"
- - "mobile/scripts/check_source_arb_plurals.rb"
env:
FLUTTER_VERSION: "3.38.10"
@@ -30,7 +30,7 @@ jobs:
run:
working-directory: mobile/apps/photos
steps:
- - name: Checkout code
+ - name: Checkout
uses: actions/checkout@v6
- name: Verify frozen mobile pubspecs
@@ -60,5 +60,4 @@ jobs:
- run: flutter analyze --no-fatal-infos
- - name: Run Flutter tests
- run: flutter test
+ - run: flutter test