-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (44 loc) · 1.43 KB
/
e2e.yml
File metadata and controls
48 lines (44 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Validate 'setup-xcode'
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
versions:
name: ${{ matrix.runner }} / ${{ matrix.xcode-version }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
runner: [macos-15, macos-26]
xcode-version: [latest, latest-stable]
include:
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md#xcode
- runner: macos-15
xcode-version: '16.2'
- runner: macos-15
xcode-version: '16.4'
# https://github.com/actions/runner-images/blob/main/images/macos/macos-26-Readme.md#xcode
- runner: macos-26
xcode-version: '26.2'
- runner: macos-26
xcode-version: '26.3'
fail-fast: false
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./
name: Setup Xcode
id: setup-xcode
with:
xcode-version: ${{ matrix.xcode-version }}
- name: Print output variables
run: |
echo "Version: ${{ steps.setup-xcode.outputs.version }}"
echo "Path: ${{ steps.setup-xcode.outputs.path }}"