Forráskód Böngészése

fix: rust & flutter test (#1644)

Co-authored-by: nathan <[email protected]>
Nathan.fooo 2 éve
szülő
commit
c1880292ac
2 módosított fájl, 9 hozzáadás és 1 törlés
  1. 0 1
      .github/workflows/flutter_ci.yaml
  2. 9 0
      .github/workflows/rust_ci.yaml

+ 0 - 1
.github/workflows/flutter_ci.yaml

@@ -101,7 +101,6 @@ jobs:
         working-directory: frontend/app_flowy
         run: flutter analyze
 
-      #Just run one platform
       - if: "$RUNNER_OS" == "Linux"
         name: Build Flutter unit test lib
         working-directory: frontend

+ 9 - 0
.github/workflows/rust_ci.yaml

@@ -20,6 +20,7 @@ on:
 env:
   CARGO_TERM_COLOR: always
   RUST_TOOLCHAIN: "1.65"
+  FLUTTER_VERSION: "3.3.9"
 
 jobs:
   test-on-ubuntu:
@@ -37,6 +38,14 @@ jobs:
           components: rustfmt, clippy
           profile: minimal
 
+      - name: Install flutter
+        id: flutter
+        uses: subosito/flutter-action@v2
+        with:
+          channel: "stable"
+          flutter-version: ${{ env.FLUTTER_VERSION }}
+          cache: true
+
       - name: Install prerequisites
         working-directory: frontend
         run: |