From efef9a6b3032127080e5e15484708d3d6da241ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 28 Dec 2023 18:47:19 +0000 Subject: [PATCH] Experiment: run flow ci with 16 cores (#924) This shaves almost a minute off flow ci, & I expect that'll improve as rest of test suite parallelizes --- .github/workflows/ci.yml | 6 +++++- .github/workflows/dev-docker.yml | 1 + .github/workflows/flow.yml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a5291f822..8452cea078 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: build: strategy: matrix: - runner: [ubicloud-standard-8-ubuntu-2204-arm] + runner: [ubicloud-standard-2-ubuntu-2204-arm] runs-on: ${{ matrix.runner }} timeout-minutes: 30 services: @@ -55,6 +55,10 @@ jobs: json: ${{ secrets.SNOWFLAKE_GH_CI_PKEY }} dir: "nexus/server/tests/assets/" + - uses: Swatinem/rust-cache@v2 + with: + workspaces: nexus + - name: cargo check run: cargo check working-directory: ./nexus diff --git a/.github/workflows/dev-docker.yml b/.github/workflows/dev-docker.yml index c4e3e313ec..1dd4d9d5b6 100644 --- a/.github/workflows/dev-docker.yml +++ b/.github/workflows/dev-docker.yml @@ -10,6 +10,7 @@ jobs: docker-build: strategy: matrix: + # ubuntu-latest leverages larger GH runner pool & completes in ~30s instead of ~3m runner: [ubuntu-latest] runs-on: ${{ matrix.runner }} permissions: diff --git a/.github/workflows/flow.yml b/.github/workflows/flow.yml index ab39326b4c..d0b0837c38 100644 --- a/.github/workflows/flow.yml +++ b/.github/workflows/flow.yml @@ -10,7 +10,7 @@ jobs: flow_test: strategy: matrix: - runner: [ubicloud-standard-8-ubuntu-2204-arm] + runner: [ubicloud-standard-16-ubuntu-2204-arm] runs-on: ${{ matrix.runner }} timeout-minutes: 30 services: