From f81236ff3d29a91ea270ae185fb9efd49036a1e5 Mon Sep 17 00:00:00 2001 From: Moritz Hoffmann Date: Wed, 30 Sep 2026 11:26:20 +0200 Subject: [PATCH 1/2] Enable Dependabot for GitHub Actions Keep the actions used in workflows up to date, with the same schedule, reviewers, and labels as the cargo updates. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6d8b9dd..d0a010d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,12 @@ updates: open-pull-requests-limit: 10 reviewers: [MaterializeInc/dependency-czars] labels: [A-dependencies] +- package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: sunday + time: "22:00" + open-pull-requests-limit: 10 + reviewers: [MaterializeInc/dependency-czars] + labels: [A-dependencies] From 08af34bda0d0a2809cf6e316fd114c5b4ae97522 Mon Sep 17 00:00:00 2001 From: Moritz Hoffmann Date: Wed, 30 Sep 2026 11:38:38 +0200 Subject: [PATCH 2/2] Replace actions-rs with setup-rust-toolchain The actions-rs actions are archived. Install the toolchain with actions-rust-lang/setup-rust-toolchain, which also configures the Rust cache, and run cargo directly. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/pr.yml | 39 +++++++++------------------------------ 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1146f69..f06ec4b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,41 +10,20 @@ jobs: lint: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v7 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: 1.89.0 components: rustfmt, clippy - - uses: Swatinem/rust-cache@v2 - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: fmt - args: -- --check - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: clippy - args: -- --deny warnings - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: install - args: --locked cargo-deny --version=0.19.0 - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: deny - args: check + - run: cargo fmt -- --check + - run: cargo clippy -- --deny warnings + - run: cargo install --locked cargo-deny --version=0.19.0 + - run: cargo deny check test: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.89.0 - - uses: Swatinem/rust-cache@v2 - - uses: actions-rs/cargo@v1 + - uses: actions/checkout@v7 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: 1.89.0 - command: test + - run: cargo test