-
Notifications
You must be signed in to change notification settings - Fork 83
ci: Drop support for macOS 13 & 14 to prepare to upgrade ystdlib-cpp; Lock GH runner images to latest available rather than latest stable. #1130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
92cb2f8
d39e077
068bac4
504b87e
f9c35ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,6 @@ jobs: | |
strategy: | ||
matrix: | ||
os: | ||
- "macos-13" | ||
- "macos-14" | ||
- "macos-15" | ||
use_shared_libs: | ||
- true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,9 @@ jobs: | |
name: "build" | ||
strategy: | ||
matrix: | ||
os: ["macos-latest", "ubuntu-latest"] | ||
os: | ||
- "macos-15" | ||
- "ubuntu-24.04" | ||
runs-on: "${{matrix.os}}" | ||
Comment on lines
+21
to
24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Upload condition tied to hard-coded runner string Good call making runner versions explicit. && 'ubuntu-24.04' == matrix.os A future bump to 26.04 would silently skip uploads. Consider introducing a boolean like Also applies to: 39-41, 51-51 🤖 Prompt for AI Agents
|
||
steps: | ||
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" | ||
|
@@ -34,7 +36,7 @@ jobs: | |
shell: "bash" | ||
run: "npm install -g @go-task/cli" | ||
|
||
- if: "matrix.os == 'macos-latest'" | ||
- if: "matrix.os == 'macos-15'" | ||
name: "Install coreutils (for md5sum)" | ||
run: "brew install coreutils" | ||
|
||
|
@@ -46,7 +48,7 @@ jobs: | |
- if: >- | ||
contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) | ||
&& ('refs/heads/main' == github.ref || startsWith(github.ref, 'refs/tags/v')) | ||
&& 'ubuntu-latest' == matrix.os | ||
&& 'ubuntu-24.04' == matrix.os | ||
uses: "actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02" | ||
with: | ||
name: "docs-html" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
Deduplicate runner specification with YAML anchors or defaults
"ubuntu-24.04"
is hard-coded in seven jobs. Using a YAML anchor/alias ordefaults.runs-on
reduces repetition and makes future upgrades a one-liner, e.g.:Also applies to: 102-103, 128-129, 163-164, 208-209, 255-256, 322-323
🤖 Prompt for AI Agents