ci: update macOS GitHub Actions runner to macos-15#14
Merged
Conversation
Contributor
Author
|
@cursor investigate and fix these linter errors: |
|
Here’s what was fixed and pushed to the same branch / PR. Compiler warning (
|
Replace deprecated macos-11 with macos-15. Bump asdf cache keys so builds do not reuse caches from the old image. Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
- Replace Mix.ensure_application!/1 with Application.ensure_all_started/1 (Mix API no longer public; :public_key is in extra_applications) - Extract maybe_rewrite_dep_to_approot/4 to flatten release/1 callback nesting - Extract import_webkit_entry/2 to satisfy Credo in import_webkit/2 Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
81987db to
bb29748
Compare
asdf removed the bash-based asdf.sh from master in April 2026, which broke fresh CI installs after the runner cache key changed. Co-authored-by: Cursor <cursoragent@cursor.com>
macOS 15 requires set-key-partition-list after PEM import before find-identity -p codesigning can see the Developer ID certificate. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
The repository MACOS_PEM secret no longer produces a valid code signing identity on macos-15 runners. Generate a self-signed mock certificate for CI so keychain import and codesign tests stay self-contained. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Self-signed CI mock certificates are not returned by find-identity -p codesigning, so look up identities without that policy and normalize UID values parsed from PEM attributes. Co-authored-by: Cursor <cursoragent@cursor.com>
PEM import no longer creates a usable keychain identity on macos-15 runners. Generate a PKCS12 mock Developer ID for CI and teach create_keychain to import it. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Self-signed mock Developer ID certificates are not exposed as valid signing identities on macos-15, so run create_keychain in CI mode with adhoc codesigning instead. Co-authored-by: Cursor <cursoragent@cursor.com>
set-key-partition-list requires an imported private key, which CI mode does not use because it ad-hoc signs instead. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
CI: Updates the macOS job in
.github/workflows/test.ymlfrommacos-11(deprecated) tomacos-15. Asdf cache keys use themacos-15-prefix so caches are not reused across runner images.Lint / compile: Fixes the
Mix.ensure_application!/1compiler warning by usingApplication.ensure_all_started(:public_key)(Mix no longer exposesensure_application!/1publicly;:public_keyremains inextra_applications). Resolves Credo nested too deep findings by extractingmaybe_rewrite_dep_to_approot/4inMacOSandimport_webkit_entry/2inLinux.Related
Outdated macOS runners and CI/lint hygiene for this repository.