Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix more linter issues

laurenspriem0c73291f86cd
diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml
index 226078167a..3ec93570d2 100644
--- a/.github/workflows/mobile-lint.yml
+++ b/.github/workflows/mobile-lint.yml
@@ -39,6 +39,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
+ components: rustfmt,clippy
- name: Cache
uses: actions/cache@v4
diff --git a/.github/workflows/mobile-packages-lint.yml b/.github/workflows/mobile-packages-lint.yml
index bee554764a..467f2ac2f1 100644
--- a/.github/workflows/mobile-packages-lint.yml
+++ b/.github/workflows/mobile-packages-lint.yml
@@ -108,6 +108,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
+ components: rustfmt,clippy
- name: Cache Rust dependencies
uses: actions/cache@v4
@@ -240,10 +241,18 @@ jobs:
with:
submodules: recursive
+ - name: Install Flutter ${{ env.FLUTTER_VERSION }}
+ uses: subosito/flutter-action@v2
+ with:
+ channel: "stable"
+ flutter-version: ${{ env.FLUTTER_VERSION }}
+ cache: true
+
- name: Install Rust ${{ env.RUST_VERSION }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
+ components: rustfmt,clippy
- name: Cache Rust dependencies
uses: actions/cache@v4
@@ -319,6 +328,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}
+ components: rustfmt,clippy
- name: Cache Rust dependencies
uses: actions/cache@v4