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