π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add Flutter linter for mobile
Manav Rathi0062bc0fdd1e
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.ymlnew file mode 100644index 0000000000..289403e946--- /dev/null+++ b/.github/workflows/mobile-lint.yml@@ -0,0 +1,19 @@+name: "Lint (mobile)"++on:+ # Run on every push (this also covers pull requests)+ push:+ # But only if something changes inside mobile+ paths:+ - "mobile/**"++jobs:+ lint:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ with:+ submodules: recursive+ - run: flutter pub get+ - run: flutter analyze --no-fatal-infos+ - run: flutter testdiff --git a/mobile/.github/workflows/code_quality.yml b/mobile/.github/workflows/code_quality.ymldeleted file mode 100644index c3b654ff20..0000000000--- a/mobile/.github/workflows/code_quality.yml+++ /dev/null@@ -1,33 +0,0 @@-name: Check Linter Rules-on:- pull_request:- types: [review_requested]- branches:- - master-jobs:- test:- name: Check the source code- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v3- - uses: actions/cache@v2- with:- path: ${{ runner.tool_cache }}/flutter- key: flutter-3.0.0-stable- # Setup the flutter environment.- - uses: subosito/[email protected]- with:- channel: 'stable'- flutter-version: '3.0.0'-- # Fetch sub modules- - run: git submodule update --init --recursive-- # Get flutter dependencies.- - name: Install packages- run: flutter pub get-- - name: Run Linter- run: flutter analyze --no-fatal-infos- - name: Run Test- run: flutter test