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.

ci: switch to flutter stable channel

appflowyddc2926c9b76
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 6c89e47281..69bf0ed2a7 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -26,7 +26,6 @@ jobs:
flutter channel stable
flutter config --enable-macos-desktop
flutter doctor
- dart pub global activate protoc_plugin
- name: Deps
working-directory: frontend
run: |
@@ -68,7 +67,6 @@ jobs:
flutter channel stable
flutter config --enable-linux-desktop
flutter doctor
- dart pub global activate protoc_plugin
- name: Deps
working-directory: frontend
run: |
diff --git a/.github/workflows/dart_lint.yml b/.github/workflows/dart_lint.yml
index 2c1bb495e8..c800436c27 100644
--- a/.github/workflows/dart_lint.yml
+++ b/.github/workflows/dart_lint.yml
@@ -24,12 +24,11 @@ jobs:
uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
- channel: "dev"
+ channel: "stable"
- name: Generate language files
working-directory: frontend/app_flowy
run:
flutter pub get
- flutter pub add easy_localization
flutter pub run easy_localization:generate -S assets/translations/
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
- name: flutter analyze
diff --git a/.github/workflows/rust_lint.yml b/.github/workflows/rust_lint.yml
index fac625b5a5..154b339971 100644
--- a/.github/workflows/rust_lint.yml
+++ b/.github/workflows/rust_lint.yml
@@ -35,7 +35,7 @@ jobs:
toolchain: stable
override: true
- name: Install protobuf tool
- - run:
+ run:
cargo install --force cargo-make
cargo make flowy_dev
echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
diff --git a/.github/workflows/rust_test.yml b/.github/workflows/rust_test.yml
index c2f09f78dd..dc1665b62b 100644
--- a/.github/workflows/rust_test.yml
+++ b/.github/workflows/rust_test.yml
@@ -1,4 +1,4 @@
-name: RustLint
+name: RustUnitTest
on:
push:
@@ -23,14 +23,14 @@ jobs:
rustup toolchain install stable
rustup default stable
- name: Install protobuf tool
- - run:
+ run:
cargo install --force cargo-make
cargo make flowy_dev
echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
working-directory: frontend
- name: Frontend tests
- working-directory: frontend/rust-lib
run: cargo test
+ working-directory: frontend/rust-lib
- name: Shared-lib tests
- working-directory: shared-lib
run: cargo test
+ working-directory: shared-lib