Skip to content

Commit 304c0a3

Browse files
author
Stephan Dilly
committed
check cargo sort in ci
1 parent a847ea2 commit 304c0a3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
make test-linux-musl
132132
133133
rustfmt:
134-
name: Rustfmt
134+
name: Formatting
135135
runs-on: ubuntu-latest
136136
steps:
137137
- uses: actions/checkout@master
@@ -142,7 +142,11 @@ jobs:
142142
components: rustfmt
143143
- run: cargo fmt -- --check
144144

145-
145+
- name: cargo-sort
146+
run: |
147+
cargo install cargo-sort --force
148+
cargo sort -c -w
149+
146150
sec:
147151
name: Security audit
148152
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)