From 304c0a3a6b88677c860836ac834256181b255703 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 28 Nov 2021 13:41:42 +0100 Subject: check cargo sort in ci --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a191d32f..db6366f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -131,7 +131,7 @@ jobs: make test-linux-musl rustfmt: - name: Rustfmt + name: Formatting runs-on: ubuntu-latest steps: - uses: actions/checkout@master @@ -142,7 +142,11 @@ jobs: components: rustfmt - run: cargo fmt -- --check - + - name: cargo-sort + run: | + cargo install cargo-sort --force + cargo sort -c -w + sec: name: Security audit runs-on: ubuntu-latest -- cgit v1.2.3