From cca502ab4d9b1aa130ec5206b7230f80bbab3ff4 Mon Sep 17 00:00:00 2001 From: Till Rohrmann Date: Thu, 19 Mar 2026 11:55:28 +0100 Subject: [PATCH] Use WarpBuild runners for CI workflows Migrate CI and integration workflows to warp-ubuntu-latest-x64-4x. In ci.yml, disable the built-in Swatinem/rust-cache from setup-rust-toolchain and add explicit WarpBuilds/rust-cache for WarpBuild-optimized caching. Update Docker Buildx setup with network=host driver-opts and point Docker layer cache at WarpBuild's cache proxy. CLA workflow is left on GitHub-hosted runners. --- .github/workflows/ci.yml | 8 +++++++- .github/workflows/integration.yaml | 9 ++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe0400b..845d48a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04] + os: [warp-ubuntu-latest-x64-4x] env: RUST_BACKTRACE: full steps: @@ -30,6 +30,12 @@ jobs: with: components: clippy rustflags: "" + cache: false + + - name: Setup Rust Caching + uses: WarpBuilds/rust-cache@v2 + with: + cache-on-failure: "true" - name: Install nextest uses: taiki-e/install-action@nextest diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index b400676..420223a 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -36,7 +36,7 @@ on: jobs: sdk-test-suite: if: github.repository_owner == 'restatedev' - runs-on: ubuntu-latest + runs-on: warp-ubuntu-latest-x64-4x name: Features integration test permissions: contents: read @@ -91,6 +91,9 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + driver-opts: | + network=host - name: Build Rust test-services image id: build @@ -101,8 +104,8 @@ jobs: push: false load: true tags: restatedev/rust-test-services - cache-from: type=gha,scope=${{ github.workflow }} - cache-to: type=gha,mode=max,scope=${{ github.workflow }} + cache-from: type=gha,url=http://127.0.0.1:49160/,version=1,scope=${{ github.workflow }} + cache-to: type=gha,url=http://127.0.0.1:49160/,mode=max,version=1,scope=${{ github.workflow }} - name: Run test tool uses: restatedev/sdk-test-suite@v3.4