From 54569acec9d5b08ea67da73e5cf5fbe6bad17f09 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Fri, 26 Jun 2026 03:26:21 +0000 Subject: [PATCH] ci: use Depot runners for CI and release workflows Mirrors the pattern used in coder/coder: keeps the github.repository_owner == 'coder' guard so forks still use ubuntu-latest. --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25e6ca5..c53b6fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: jobs: goreleaser: - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 147d86d..e60c721 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: # Ensure project builds before running testing matrix build: name: Build - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }} timeout-minutes: 5 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 @@ -42,7 +42,7 @@ jobs: install-mode: goinstall generate: - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 @@ -66,7 +66,7 @@ jobs: test: name: Terraform Provider Acceptance Tests needs: build - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }} timeout-minutes: 15 strategy: fail-fast: false @@ -105,7 +105,7 @@ jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }} timeout-minutes: 5 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0