Skip to content

Commit 3f3db2b

Browse files
committed
Another attempt at one reference for the runner OS
1 parent a3f2620 commit 3f3db2b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66
- '**' # Runs on all branches
77
pull_request:
88

9+
# YAML anchor for the runner OS
10+
# These images are arm64 unless specified: https://github.com/actions/runner-images
11+
runner-os: &runner-os [macos-15] # macOS CI is expensive: [macos-14, macos-15, macos-15-intel, macos-26]
12+
913
jobs:
1014
build:
11-
runs-on: ${{ matrix.os }}
12-
strategy:
13-
matrix:
14-
# These images are arm64 unless specified: https://github.com/actions/runner-images
15-
os: [macos-15] # macOS CI is expensive: [macos-14, macos-15, macos-15-intel, macos-26]
15+
runs-on: *runner-os
1616

1717
steps:
1818
- name: Checkout repository
@@ -64,7 +64,7 @@ jobs:
6464

6565
test:
6666
needs: build
67-
runs-on: ${{ matrix.os }}
67+
runs-on: *runner-os
6868

6969
steps:
7070
- name: Checkout repository

0 commit comments

Comments
 (0)