Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: rust & flutter test (#1644)

Nathan.foooc1880292acd4
diff --git a/.github/workflows/flutter_ci.yaml b/.github/workflows/flutter_ci.yaml
index faf1e30e01..7fb6372b70 100644
--- a/.github/workflows/flutter_ci.yaml
+++ b/.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
diff --git a/.github/workflows/rust_ci.yaml b/.github/workflows/rust_ci.yaml
index e1b9dd50f3..998aae024a 100644
--- a/.github/workflows/rust_ci.yaml
+++ b/.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: |