ci: switch to flutter stable channel

This commit is contained in:
appflowy 2022-02-09 20:56:29 +08:00
parent 17c8f9fdde
commit ddc2926c9b
4 changed files with 6 additions and 9 deletions

View File

@ -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: |

View File

@ -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

View File

@ -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

View File

@ -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
run: cargo test
working-directory: frontend/rust-lib
run: cargo test
- name: Shared-lib tests
working-directory: shared-lib
run: cargo test
working-directory: shared-lib