fix: upgrade deprecated GitHub Actions to v4#105
Merged
Conversation
actions/cache v2 and actions/checkout v2 have been sunset by GitHub, causing all CI jobs to fail immediately during setup. This upgrades both to v4 and fixes the deprecated ::set-output syntax in the dialyzer job to use $GITHUB_OUTPUT instead.
ubuntu-latest now resolves to Ubuntu 24.04, which requires OTP 24.3+. The previous erlef/setup-beam@v1.15 also didn't recognize ubuntu24 as a valid ImageOS. Upgrade to erlef/setup-beam@v1 (latest) and bump OTP from 24.2.1 to 24.3 to satisfy the Ubuntu 24.04 compatibility matrix.
burden
approved these changes
Apr 8, 2026
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
actions/checkoutfrom v2 to v4 inci.ymlanddeploy.ymlactions/cachefrom v2 to v4 inci.yml::set-outputsyntax with$GITHUB_OUTPUTin the dialyzer jobGitHub has sunset
actions/cachev1/v2 andactions/checkoutv2, causing both CI jobs (Build and testandRun Dialyzer for type checking) to fail immediately during job setup with:See: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/
Test plan
Build and testandRun Dialyzer for type checkingjobs)