mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: switch to flutter stable channel
This commit is contained in:
parent
17c8f9fdde
commit
ddc2926c9b
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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: |
|
||||
|
3
.github/workflows/dart_lint.yml
vendored
3
.github/workflows/dart_lint.yml
vendored
@ -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
|
||||
|
2
.github/workflows/rust_lint.yml
vendored
2
.github/workflows/rust_lint.yml
vendored
@ -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
|
||||
|
8
.github/workflows/rust_test.yml
vendored
8
.github/workflows/rust_test.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user