From 5458a77852eff79a3bbbc43ec7ee376d7114cf62 Mon Sep 17 00:00:00 2001 From: Logan Nguyen Date: Fri, 3 Apr 2026 00:09:01 -0500 Subject: [PATCH] ci: move macOS runners to ubuntu-latest to eliminate Actions costs macOS runners bill at 10x the Linux rate. Backend Rust tests compile fine on Linux (macOS-specific deps/code are cfg-gated). Build validation now runs lint + format + typecheck + frontend build on Linux, skipping the Tauri binary build (macOS-only, not needed for CI validation). Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Logan Nguyen --- .github/workflows/pr-backend-tests.yml | 2 +- .github/workflows/pr-build-validation.yml | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-backend-tests.yml b/.github/workflows/pr-backend-tests.yml index 1a86bff0..8a27b406 100644 --- a/.github/workflows/pr-backend-tests.yml +++ b/.github/workflows/pr-backend-tests.yml @@ -11,7 +11,7 @@ on: jobs: test: name: Backend Tests - runs-on: macos-latest + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/pr-build-validation.yml b/.github/workflows/pr-build-validation.yml index 575eb632..6d130bf8 100644 --- a/.github/workflows/pr-build-validation.yml +++ b/.github/workflows/pr-build-validation.yml @@ -11,7 +11,7 @@ on: jobs: build: name: Build Validation - runs-on: macos-latest + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -36,7 +36,14 @@ jobs: exit 1 fi - - name: Build validation - run: | - echo "Running full build validation (lint, format, typecheck, frontend + Tauri build)..." - bun run validate-build + - name: Lint + run: bun run lint + + - name: Format check + run: bun run format:check + + - name: Typecheck + run: bun run typecheck + + - name: Frontend build + run: bun run build:frontend