From de2f451cf67e368e123e1959c99efb4859ebfced Mon Sep 17 00:00:00 2001 From: Defelo Date: Thu, 3 Jul 2025 23:17:24 +0200 Subject: [PATCH] perf: use macos-latest runner for x86_64-darwin builds --- .github/workflows/build.yml | 3 ++- .github/workflows/review.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc29d3d..79efec0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,7 @@ jobs: runs-on: >- ${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest') || (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm') - || (matrix.system == 'x86_64-darwin' && 'macos-13') + || (matrix.system == 'x86_64-darwin' && 'macos-latest') || (matrix.system == 'aarch64-darwin' && 'macos-latest') }} steps: @@ -76,6 +76,7 @@ jobs: uses: cachix/install-nix-action@v31 with: extra_nix_config: | + system = ${{ matrix.system }} sandbox = ${{ (matrix.system == 'x86_64-darwin' && inputs.x86_64-darwin == 'yes_sandbox_false' || matrix.system == 'aarch64-darwin' && inputs.aarch64-darwin == 'yes_sandbox_false') && 'false' diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index fa51e70..787b725 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -86,7 +86,7 @@ jobs: runs-on: >- ${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest') || (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm') - || (matrix.system == 'x86_64-darwin' && 'macos-13') + || (matrix.system == 'x86_64-darwin' && 'macos-latest') || (matrix.system == 'aarch64-darwin' && 'macos-latest') }} outputs: report_x86_64-linux: ${{ steps.report.outputs.report_x86_64-linux }} @@ -107,6 +107,7 @@ jobs: uses: cachix/install-nix-action@v31 with: extra_nix_config: | + system = ${{ matrix.system }} sandbox = ${{ (matrix.system == 'x86_64-darwin' && inputs.x86_64-darwin == 'yes_sandbox_false' || matrix.system == 'aarch64-darwin' && inputs.aarch64-darwin == 'yes_sandbox_false') && 'false'