Update CI runner images and deprecated actions#318
Merged
Conversation
The ubuntu-20.04 runner image was retired by GitHub in April 2025, so all CI jobs queued forever waiting for a runner. The Try PureScript server droplet has been upgraded in place to Ubuntu 24.04, so the server build job now targets ubuntu-24.04 to keep the produced binary glibc-compatible with the deployment host. Also: - actions/checkout v2 -> v4 - actions/cache v2 -> v4 - actions/setup-node v2 -> v4, pinned to Node 20 - actions/upload-artifact and download-artifact v2 -> v4 (v2 is fully deprecated and errors out) - haskell/actions/setup v1 (archived) -> haskell-actions/setup v2 - softprops/action-gh-release v1 -> v2 - stack 2.5.1 -> latest (the lts-20.9 resolver still pins GHC and all dependencies) - Only the server job carries the "must match the server's Ubuntu" comment; the client and release jobs produce OS-independent artifacts and use ubuntu-latest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.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.
Fixes #317.
Context
CI has been dead because all jobs pinned
runs-on: ubuntu-20.04, which GitHub retired in April 2025. The server is upgraded now to ubuntu-24.04 and we can update CI as well.Changes
ubuntu-20.04→ubuntu-24.04(kept the sync-with-server comment)ubuntu-latest— they produce OS-independent artifacts, so the copy-pasted sync comment was removedactions/checkout@v2→@v4,actions/cache@v2→@v4actions/setup-node@v2→@v4, pinned to Node 20actions/upload-artifact@v2/download-artifact@v2→@v4(v2 is fully deprecated and errors out)haskell/actions/setup@v1(archived repo) →haskell-actions/setup@v2softprops/action-gh-release@v1→@v2stack-version: 2.5.1(from 2020) →latest— reproducibility is unaffected since thelts-20.9resolver pins GHC and all dependenciesNotes
tinfo6GHC bindist, so GHC 9.2.5 should install fine on the 24.04 runner. If it doesn't, the fallback is running the server job in acontainer: ubuntu:22.04(a binary built against older glibc runs fine on the newer droplet).trypurescriptsystemd service was never enabled at boot on the droplet (it was being started manually after reboots). It's nowsystemctl enabled.🤖 Generated with Claude Code