Update rust_general.yml

This commit is contained in:
AppFlowy.IO 2021-11-30 15:40:11 +08:00 committed by GitHub
parent 0c1263cb78
commit 3363952a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,13 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
components: rustfmt components: rustfmt
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
- run: cargo fmt --all -- --check with:
working-directory: frontend/rust-lib path: frontend/rust-lib
command: fmt
args: --all -- --check
rust-clippy: rust-clippy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Clippy name: Clippy