Skip to content

Commit 3e6ca1f

Browse files
committed
use nightly fmt in workflow
1 parent 1eee2e8 commit 3e6ca1f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/pr-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ 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"
2730
run: cargo fmt --check
2831

0 commit comments

Comments
 (0)