Update rust_general.yml

This commit is contained in:
AppFlowy.IO 2021-11-30 17:55:25 +08:00 committed by GitHub
parent 3363952a23
commit 57f8226b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,15 +17,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
path: frontend/rust-lib
command: fmt
args: --all -- --check
- run: cargo fmt --all -- --check
working-directory: frontend/rust-lib
rust-clippy:
runs-on: ubuntu-latest