From 60044ae8c8b7f913d500c02200765db61de489c2 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Sat, 24 Feb 2024 11:33:21 +0100 Subject: [PATCH] ci: only one job for clippy and rustdoc --- .github/workflows/main.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 106ff7aaa..56649bcf5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,26 +76,14 @@ jobs: # TODO: we'll eventually want to check the whole workspace with --workspace # TODO: we'll eventually want to check relevant feature combinations # TODO: we may want to use --no-deps as well - - uses: clechasseur/rs-clippy-check@v3 + - name: clippy + uses: clechasseur/rs-clippy-check@v3 with: args: --verbose --locked -p riot-rs-embassy - rustdoc: - runs-on: ubuntu-latest - - steps: - - name: Check out repository code - uses: actions/checkout@v4 - - - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly - - - name: rust cache - uses: Swatinem/rust-cache@v2 - # TODO: we'll eventually want to generate docs for riot-rs instead # TODO: we'll eventually want to enable relevant features - - name: "rustdoc generation check" + - name: "rustdoc" run: cargo rustdoc -p riot-rs-embassy -- -D warnings CI-success: