From 02d02f961bf556d4026662f1e934a3330f5232ff Mon Sep 17 00:00:00 2001 From: Ray Walker Date: Sun, 26 Apr 2026 19:14:54 +1000 Subject: [PATCH] ci: migrate publish job to self-hosted runners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The publish job was on ubuntu-latest with dtolnay/rust-toolchain (which failed due to missing toolchain input). Switch to cachekit-lean runners with rustup directly — same as CI. Drop dtolnay action and Swatinem/rust-cache (unnecessary on persistent runners). --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba4f939..cd0d6ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,15 +34,17 @@ jobs: publish: needs: release-please if: ${{ needs.release-please.outputs.release_created == 'true' }} - runs-on: ubuntu-latest + runs-on: cachekit-lean + env: + RUSTUP_HOME: /tmp/rustup + CARGO_HOME: /tmp/cargo steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Install Rust toolchain - uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # stable - - - name: Cache cargo registry - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + run: | + rustup toolchain install stable --profile minimal + rustup default stable - name: Run tests before publish run: cargo test --features "cachekitio,redis,encryption,l1,macros"