From 6486c1e17bddc6cabe18ea2941a3afb924160e06 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Tue, 13 Jun 2023 22:20:31 +0300 Subject: [PATCH] [CI] Reorder steps again and change some steps names --- .github/workflows/ci.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e18b1a..dd433a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,17 @@ jobs: run: cargo check --verbose - name: Run Tests run: cargo test --verbose + - name: Install Formatting nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + components: rustfmt + - name: Run Formatting check + run: cargo +nightly fmt --check --verbose + - name: Install Audit + run: cargo install cargo-audit + - name: Run Audit + run: cargo audit --deny warnings - name: Install MSRV uses: actions-rs/toolchain@v1 with: @@ -28,12 +39,3 @@ jobs: override: true - name: Run MSRV run: cargo build - - name: Install nightly - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - components: rustfmt - - name: Run formatting check - run: cargo +nightly fmt --check --verbose - - name: Run audit - run: cargo audit --deny warnings