Skip to content

Commit a91c746

Browse files
committed
Use nightly fmt fork workflow
1 parent 9a1e7b1 commit a91c746

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ jobs:
2222
uses: actions/checkout@v3
2323
with:
2424
fetch-depth: 1
25-
25+
26+
- name: Install nightly toolchain
27+
run: rustup toolchain install nightly --component rustfmt
28+
2629
- name: "[Check] cargo fmt"
27-
run: cargo fmt --check
30+
run: cargo +nightly fmt --check
2831

2932
test-and-clippy:
3033
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)