From 8b4d5afcde7238ead5fa8afdf8f8bc803c93d690 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Sun, 5 Apr 2026 11:39:32 -0400 Subject: [PATCH] ci: use self-hosted netty runners for flake check and format --- .github/workflows/quality.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c38856e..706e799 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -11,7 +11,7 @@ permissions: jobs: changes: - runs-on: ubuntu-latest + runs-on: [self-hosted, netty] outputs: quality: ${{ steps.filter.outputs.quality }} steps: @@ -32,30 +32,25 @@ jobs: flake-check: name: Flake Check - runs-on: ubuntu-latest + runs-on: [self-hosted, netty] needs: changes if: ${{ needs.changes.outputs.quality == 'true' }} steps: - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main - name: Prepare local flake input shims run: | set -euo pipefail - # The repo currently depends on a local path flake input for agentcomputer-cli. sudo mkdir -p /Users/rathi/Documents/GitHub/companion/agentcomputer/apps sudo ln -sfn "$GITHUB_WORKSPACE/ci/agentcomputer-cli-stub" /Users/rathi/Documents/GitHub/companion/agentcomputer/apps/cli - run: nix flake check nix-format: name: Nix Format Check - runs-on: ubuntu-latest + runs-on: [self-hosted, netty] needs: changes if: ${{ needs.changes.outputs.quality == 'true' }} steps: - uses: actions/checkout@v4 - - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main - name: Prepare local flake input shims run: | set -euo pipefail