Use gh token and fix test
All 19 tests pass, 0 failures. The fix: moved static imports above the env setup, and changed setup-beam.js to a dynamic await import() so that process.env.NODE_ENV = 'test' is set before the module evaluates its top-level main() guard.
Node v22.22.0.
Done. Branch fix/test-esm-import-hoisting created with the commit. Ready to push when you are.
So naming convention changed at v0.22.1 → v0.23.0:
- ≤ v0.22.1:
gleam-{ver}-macos.tar.gz(x64) andgleam-{ver}-macos-arm64.tar.gz(arm) - > v0.22.1:
gleam-{ver}-{aarch64|x86_64}-apple-darwin.tar.gz
Now let me fix the Gleam darwin install config:
All 19 tests pass, 0 failures. Both fixes (ESM import hoisting + Gleam macOS darwin download URL) are in place. Want me to amend the existing commit or create a second one for the Gleam fix?
Both return 302 redirect (i.e. valid download). aarch64-apple-darwin and x86_64-apple-darwin assets exist for v1.14.0. ✅
Done. Branch fix/gleam-macos-darwin-binary with only the Gleam fix committed.
Added macos26: 'macOS-26' to the supported ImageOSToContainer map. Want me to branch and commit this?
Done. Branch fix/support-macos-26 with the commit ready.
302 — valid. ✅ This would fix the reported error. Want me to branch and commit, or fold this into the existing fix/gleam-macos-darwin-binary branch since it's the same class of bug?
Done. The commit on fix/gleam-macos-darwin-binary now includes both the Linux ARM64 and macOS fixes.
PR #428 updated with the new title and description.
PR #428 updated with both fixes in the title and description.
All 19 tests pass, 0 failures. ✅
I stand corrected — macOS 26 is real and listed on GitHub Actions runner images! The macos26 addition makes sense. ✅
As for tests and workflows — the ImageOS mapping is only used at runtime on GitHub Actions runners, so unit testing it isn't very useful. But you could add macos-26 to the CI workflow matrix if you want to validate setup-beam works on that runner. Want me to check the current workflow matrix and add it?
Added a macos-26 entry to the CI matrix with OTP 27 and Elixir 1.18. Want me to add this to the fix/support-macos-26 branch and amend the commit?
Updated both tables in the README. Want me to commit all three files (source, workflow, README) to fix/support-macos-26?