Commit 869a873
Update action runtime to node24 and polish e2e test matrix (#98)
* Update e2e workflow to macOS 15 and 26; drop deprecated runners
macOS 12, 13, and 14 GitHub Actions runners are deprecated. This replaces them with current macOS 15 and macOS 26 (Tahoe) runners and updates the Xcode version matrices to match what's actually available on each image.
## Changes
- **Removed**: `versions-macOS-12`, `versions-macOS-13`, `versions-macOS-14` jobs
- **Added** `versions-macOS-15` — tests Xcode `16.2`, `16.4`, `latest`, `latest-stable` ([runner image ref](https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md#xcode))
- **Added** `versions-macOS-26` — tests Xcode `26.2`, `26.3`, `latest`, `latest-stable` ([runner image ref](https://github.com/actions/runner-images/blob/main/images/macos/macos-26-Readme.md#xcode))
- **Added** top-level `permissions: contents: read` (least-privilege hardening)
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Goooler <10363352+Goooler@users.noreply.github.com>
* Update action runtime to node24
GitHub Actions now supports `node24` as a runtime target. This updates
the action to use it.
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
## Changes
- **`action.yml`**: `using: node20` → `using: node24`
- **`package.json`**: `@types/node` bumped from `^20.6.3` → `^24.0.0`
- **`.github/workflows/workflow.yml`**: CI node version `20.x` → `24.x`
- **`dist/index.js`**: rebuilt against updated dependencies
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Goooler <10363352+Goooler@users.noreply.github.com>
Co-authored-by: Zongle Wang <wangzongler@gmail.com>
* Reduce boilerplate in e2e.yml using matrix strategy
Two nearly identical jobs (`versions-macOS-15`, `versions-macOS-26`)
duplicated all steps, differing only in runner and Xcode versions.
## Changes
- **Merged into single `versions` job** using a 2D matrix (`runner` ×
`xcode-version`)
- **Shared versions** (`latest`, `latest-stable`) expressed as
cross-product across both runners
- **Runner-specific numeric versions** added via `include` entries
```yaml
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
```
All 8 original test combinations are preserved.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Goooler <10363352+Goooler@users.noreply.github.com>
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Goooler <10363352+Goooler@users.noreply.github.com>1 parent 7f352e6 commit 869a873
File tree
5 files changed
+51
-59
lines changed- .github/workflows
5 files changed
+51
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 10 | + | |
| 11 | + | |
31 | 12 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
56 | 17 | | |
57 | 18 | | |
58 | | - | |
59 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
60 | 32 | | |
61 | 33 | | |
62 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments