Skip to content

Commit

Permalink
ci: use Apple silicon macOS runners (#5771)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
rfratto authored Nov 14, 2023
1 parent 196f531 commit 6301a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
name: Test
strategy:
matrix:
platform: [macos-latest]
platform: [macos-latest-xlarge]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- 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

0 comments on commit 6301a32

Please sign in to comment.