mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Update rust_general.yml
This commit is contained in:
parent
57f8226b38
commit
841d5e6fd0
14
.github/workflows/rust_general.yml
vendored
14
.github/workflows/rust_general.yml
vendored
@ -14,12 +14,14 @@ jobs:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: rustfmt
|
||||
- name: Install Rust
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source $HOME/.cargo/env
|
||||
rustup toolchain install nightly
|
||||
rustup default nightly
|
||||
- run: rustup component add rustfmt
|
||||
working-directory: frontend/rust-lib
|
||||
- run: cargo fmt --all -- --check
|
||||
working-directory: frontend/rust-lib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user