|
@@ -34,6 +34,12 @@ jobs:
|
|
with:
|
|
with:
|
|
toolchain: stable
|
|
toolchain: stable
|
|
override: true
|
|
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
|
|
- run: rustup component add clippy
|
|
working-directory: frontend/rust-lib
|
|
working-directory: frontend/rust-lib
|
|
- run: cargo clippy
|
|
- run: cargo clippy
|
|
@@ -51,6 +57,12 @@ jobs:
|
|
source $HOME/.cargo/env
|
|
source $HOME/.cargo/env
|
|
rustup toolchain install stable
|
|
rustup toolchain install stable
|
|
rustup default 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
|
|
- name: Frontend tests
|
|
working-directory: frontend/rust-lib
|
|
working-directory: frontend/rust-lib
|
|
run: cargo test
|
|
run: cargo test
|