mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
ci: run rustfmt with nightly
This commit is contained in:
parent
df7ad3b67c
commit
9475cd6283
1 changed files with 2 additions and 1 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
run: |
|
||||
rustup toolchain install stable --profile minimal
|
||||
rustup component add clippy
|
||||
|
||||
- name: Setup Rust cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
|
|
@ -37,4 +38,4 @@ jobs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Rustfmt
|
||||
run: cargo fmt --all -- --check
|
||||
run: cargo +nightly fmt --all -- --check
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue