From 8cb05049bea710dce441a7221ed3a541e5f4f7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 28 Jan 2023 11:42:56 +0100 Subject: [PATCH] CI: Alphabetical sort of clippy jobs --- .github/workflows/build.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a709fb9c49..9f7d221975 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,28 +135,29 @@ jobs: working-directory: ./rtic run: cargo clippy - clippytime: - name: Cargo clippy rtic-time + clippychannel: + name: Cargo clippy rtic-channel runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v3 - name: Fail on warnings - working-directory: ./rtic-time + working-directory: ./rtic-channel run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs - name: Add Rust component clippy - working-directory: ./rtic-time + working-directory: ./rtic-channel run: rustup component add clippy - name: Cache Dependencies uses: Swatinem/rust-cache@v2 - name: cargo clippy - working-directory: ./rtic-time + working-directory: ./rtic-channel run: cargo clippy + clippymonotonics: name: Cargo clippy rtic-monotonics runs-on: ubuntu-22.04 @@ -178,27 +179,27 @@ jobs: - name: cargo clippy working-directory: ./rtic-monotonics run: cargo clippy - - clippychannel: - name: Cargo clippy rtic-channel + + clippytime: + name: Cargo clippy rtic-time runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v3 - name: Fail on warnings - working-directory: ./rtic-channel + working-directory: ./rtic-time run: sed -i 's,//deny_warnings_placeholder_for_ci,#![deny(warnings)],' src/lib.rs - name: Add Rust component clippy - working-directory: ./rtic-channel + working-directory: ./rtic-time run: rustup component add clippy - name: Cache Dependencies uses: Swatinem/rust-cache@v2 - name: cargo clippy - working-directory: ./rtic-channel + working-directory: ./rtic-time run: cargo clippy # Verify all examples, checks