Skip to content

Commit 24c2837

Browse files
tottotoseanmonstar
authored andcommitted
refactor(ci): run rustfmt on stable rust
1 parent a424fd6 commit 24c2837

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6+
style:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: dtolnay/rust-toolchain@stable
11+
with:
12+
components: rustfmt
13+
- run: cargo fmt --all --check
14+
615
test:
716
name: Test
817
runs-on: ubuntu-latest
@@ -26,7 +35,6 @@ jobs:
2635
cargo clean
2736
cargo update -Z minimal-versions
2837
cargo check
29-
- run: cargo fmt --all --check
3038
3139
MSRV:
3240
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)