From 6301a32d2a556f0b18e3822cdefbcb8a9684c5e7 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Tue, 14 Nov 2023 15:42:13 -0500 Subject: [PATCH] ci: use Apple silicon macOS runners (#5771) Use the new Apple silicon macOS runner when running macOS tests. While these new runners are twice as expensive as the normal macOS runners, it is expected to be cost-neutral thanks to the speed increase. For more information, see GitHub's announcement about the new runners: https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/ --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4963743342e1..229de6f55dbe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: name: Test strategy: matrix: - platform: [macos-latest] + platform: [macos-latest-xlarge] runs-on: ${{ matrix.platform }} steps: - name: Checkout code @@ -20,7 +20,7 @@ jobs: - name: Set up Go 1.21 uses: actions/setup-go@v4 with: - go-version: "1.21.0" + go-version: "1.21" cache: true - name: Test run: make GO_TAGS="nodocker" test