From e36352053726fe984bc988cababa5cc9e62b7bb0 Mon Sep 17 00:00:00 2001 From: Moritz Hoffmann Date: Tue, 24 Feb 2026 09:33:19 +0100 Subject: [PATCH] Update github workflows Some housekeeping updates: * Add concurrency groups to deploy and release-plz so they cannot interfere with themselves. This might have been the reason the release failed a while ago. * Update mdbook. * Only install clippy where needed. Signed-off-by: Moritz Hoffmann --- .github/workflows/deploy.yml | 7 +++++-- .github/workflows/release-plz.yml | 3 +++ .github/workflows/test.yml | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e0e037db1..8c2ca2419 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,12 +5,15 @@ on: branches: - master +concurrency: + group: deploy + jobs: deploy: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - run: cargo install mdbook --version 0.4.40 + - run: cargo install mdbook --version 0.5.2 - run: cd mdbook && mdbook build - uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 033aa7360..d01359cd5 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -9,6 +9,9 @@ on: branches: - master +concurrency: + group: release-plz + jobs: release-plz: name: Release-plz diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d26d95059..260e0552f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,6 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: ${{ matrix.toolchain }} - components: clippy - name: Cargo test run: cargo test --workspace --all-targets - name: Cargo doc test