Skip to content

fix: upgrade deprecated GitHub Actions to v4#105

Merged
doomspork merged 2 commits intomainfrom
fix/upgrade-deprecated-github-actions
Apr 8, 2026
Merged

fix: upgrade deprecated GitHub Actions to v4#105
doomspork merged 2 commits intomainfrom
fix/upgrade-deprecated-github-actions

Conversation

@doomspork
Copy link
Copy Markdown
Member

Summary

  • Upgrades actions/checkout from v2 to v4 in ci.yml and deploy.yml
  • Upgrades actions/cache from v2 to v4 in ci.yml
  • Replaces deprecated ::set-output syntax with $GITHUB_OUTPUT in the dialyzer job

GitHub has sunset actions/cache v1/v2 and actions/checkout v2, causing both CI jobs (Build and test and Run Dialyzer for type checking) to fail immediately during job setup with:

This request has been automatically failed because it uses a deprecated version of actions/cache: v2.

See: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/

Test plan

  • Verify CI passes on this PR (both Build and test and Run Dialyzer for type checking jobs)

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.
@doomspork doomspork requested a review from a team as a code owner April 8, 2026 03:12
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.
@doomspork doomspork merged commit 67c3909 into main Apr 8, 2026
2 checks passed
@doomspork doomspork deleted the fix/upgrade-deprecated-github-actions branch April 8, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants