mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: generate language files and install pb tools
This commit is contained in:
parent
5809758539
commit
82ac2a5d79
5
.github/workflows/frontend_dart.yml
vendored
5
.github/workflows/frontend_dart.yml
vendored
@ -28,7 +28,10 @@ jobs:
|
||||
channel: "dev"
|
||||
- name: flutter pub get
|
||||
working-directory: frontend/app_flowy
|
||||
run: flutter pub get
|
||||
run:
|
||||
flutter pub get
|
||||
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
|
||||
working-directory: frontend/app_flowy
|
||||
run: flutter analyze
|
||||
|
12
.github/workflows/frontend_rust.yml
vendored
12
.github/workflows/frontend_rust.yml
vendored
@ -34,6 +34,12 @@ jobs:
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Install protobuf tool
|
||||
- run:
|
||||
cargo install --force cargo-make
|
||||
cargo make flowy_dev
|
||||
echo PATH="$PATH":"$HOME/.pub-cache/bin" >> $GITHUB_PATH
|
||||
working-directory: frontend
|
||||
- run: rustup component add clippy
|
||||
working-directory: frontend/rust-lib
|
||||
- run: cargo clippy
|
||||
@ -51,6 +57,12 @@ jobs:
|
||||
source $HOME/.cargo/env
|
||||
rustup toolchain install stable
|
||||
rustup default stable
|
||||
- name: Install protobuf tool
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user