Skip to content

Commit 3d2581e

Browse files
committed
modernized actions workflow
1 parent c7bea73 commit 3d2581e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,14 @@ jobs:
4747
name: Rustfmt
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/checkout@v4
51-
- name: Install Rust
52-
uses: dtolnay/rust-toolchain@stable
53-
with:
54-
components: rustfmt
55-
- name: Check formatting
56-
run: cargo fmt --all -- --check
50+
- uses: actions/checkout@v4
51+
- name: Install Rust nightly with rustfmt
52+
uses: dtolnay/rust-toolchain@nightly
53+
with:
54+
components: rustfmt
55+
- name: Check formatting
56+
run: cargo fmt --all -- --check
57+
5758

5859
format:
5960
name: TOML Check Format

0 commit comments

Comments
 (0)