From 29e8c97a7d7da46ab5084ff6d2c1db9dcf7e67e7 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 16 Mar 2026 13:05:01 -0700 Subject: chore(ci): migrate to depot runners (#3279) ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --- .github/workflows/codespell.yml | 2 +- .github/workflows/installer.yml | 4 ++-- .github/workflows/nix.yml | 4 ++-- .github/workflows/rust.yml | 14 +++++++------- .github/workflows/shellcheck.yml | 2 +- .github/workflows/update-nix-deps.yml | 2 +- dist-workspace.toml | 7 +++++++ 7 files changed, 21 insertions(+), 14 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 5e8da009..7d941112 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -14,7 +14,7 @@ permissions: jobs: codespell: name: Check for spelling errors - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - name: Checkout diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 33fbe50d..2cc4f89f 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -13,14 +13,14 @@ jobs: install: strategy: matrix: - os: [ubuntu-latest, macos-14] + os: [depot-ubuntu-24.04, macos-14] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v6 - name: Install zsh for ubuntu - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'depot-ubuntu-24.04' run: | sudo apt install zsh diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index b148d979..515a05eb 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -14,7 +14,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v6 @@ -24,7 +24,7 @@ jobs: run: nix flake check --print-build-logs build-test: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b996c582..a215888f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-14, windows-latest] + os: [depot-ubuntu-24.04, macos-14, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -55,7 +55,7 @@ jobs: # # warning: libelf.so.2, needed by <...>/libkvm.so, not found (try using -rpath or -rpath-link) target: [x86_64-unknown-illumos] - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v6 @@ -88,7 +88,7 @@ jobs: unit-test: strategy: matrix: - os: [ubuntu-latest, macos-14, windows-latest] + os: [depot-ubuntu-24.04, macos-14, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -118,7 +118,7 @@ jobs: check: strategy: matrix: - os: [ubuntu-latest, macos-14, windows-latest] + os: [depot-ubuntu-24.04, macos-14, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -153,7 +153,7 @@ jobs: run: cargo check --no-default-features --features client --workspace integration-test: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 services: postgres: @@ -192,7 +192,7 @@ jobs: ATUIN_DB_URI: postgres://atuin:pass@localhost:5432/atuin clippy: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v6 @@ -215,7 +215,7 @@ jobs: run: cargo clippy -- -D warnings -D clippy::redundant_clone format: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 7c983232..e85381fd 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -8,7 +8,7 @@ on: jobs: shellcheck: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/update-nix-deps.yml b/.github/workflows/update-nix-deps.yml index 8c43e549..2ed5ff78 100644 --- a/.github/workflows/update-nix-deps.yml +++ b/.github/workflows/update-nix-deps.yml @@ -6,7 +6,7 @@ on: jobs: lockfile: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-24.04 if: github.repository == 'atuinsh/atuin' steps: - name: Checkout repository diff --git a/dist-workspace.toml b/dist-workspace.toml index 62620156..96556337 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -21,3 +21,10 @@ install-updater = true unix-archive = ".tar.gz" # Whether to enable GitHub Attestations github-attestations = true + +[dist.github-custom-runners] +aarch64-apple-darwin = "depot-macos-latest" +aarch64-unknown-linux-gnu = "depot-ubuntu-24.04-arm-8" +aarch64-unknown-linux-musl = "depot-ubuntu-24.04-arm-8" +x86_64-unknown-linux-gnu = "depot-ubuntu-24.04-8" +x86_64-unknown-linux-musl = "depot-ubuntu-24.04-8" -- cgit v1.3.1