Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checkout support in CI for Ubuntu 18.04 #287

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

stephenswat
Copy link
Member

The combination of us using the past-EoL Ubuntu 18.04 and Microsoft being a bit gung-ho in their changes to GitHub Actions means that Node16, and by extension checkouts@v3 is no longer supported. Since Ubuntu 18.04 doesn't support the newer Node20, we are stuck. Thankfully, we can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION environment variable which is project to keep the CI running until they remove support for Node16 fully.

See #286 for the related CI failure, and https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ for the GitHub blog post about this.

@stephenswat stephenswat added bug Something isn't working cicd Changes the CI or CD settings labels Jul 16, 2024
Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I trust that you researched the issue sufficiently.

Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I should've checked. Unfortunately the CI doesn't seem to like these lines. 😦 Something needs to be done differently as it seems.

The combination of us using the past-EoL Ubuntu 18.04 and Microsoft
being a bit gung-ho in their changes to GitHub Actions means that
Node16, and by extension checkouts@v3 is no longer supported. Since
Ubuntu 18.04 doesn't support the newer Node20, we are stuck. Thankfully,
we can set the `ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION` environment
variable which is project to keep the CI running until they remove
support for Node16 fully.
@stephenswat
Copy link
Member Author

There we go, now it's happy.

Copy link
Member

@krasznaa krasznaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@krasznaa krasznaa merged commit 5b8ec90 into acts-project:main Aug 5, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cicd Changes the CI or CD settings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants