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

Update GitHub Actions CI packages and command #510

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

austinvazquez
Copy link
Contributor

@austinvazquez austinvazquez commented Feb 12, 2024

Issue

N/A

Description

This change updates GitHub Actions packages actions/checkout to v4, actions/setup-go to v5, and actions/upload-artifacts to v4 to resolve NodeJS 16 deprecation warnings. It also updates GitHub Actions set-output command which is also deprecated.

Testing

CI passes without deprecation warnings

Additional references

This change updates GitHub Actions packages actions/checkout to v4,
actions/setup-go to v5, and actions/upload-artifacts to v4 to resolve
NodeJS 16 deprecation warnings. It also updates GitHub Actions
set-output command which is also deprecated.

Signed-off-by: Austin Vazquez <[email protected]>
@austinvazquez
Copy link
Contributor Author

Need to verify changes to release workflow. Will try to have an update by 2/13.

@awoimbee
Copy link

Hi, this needs to be merged soon, the distribution-spec action currently auto fails:

Download action repository 'opencontainers/[email protected]' (SHA:0f98d91a0afe7ed3ab0f29349beed2bb4ba1507d)
Getting action download info
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: 0b7f8abb1508181956e8e162db84b466c27e18ce`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

@sudo-bmitch
Copy link
Contributor

I don't believe it will be possible to fix opencontainers/[email protected] since that's a tagged release. This would need a merged fix and then a new release (v1.1.1) if external workflows are breaking.

@sudo-bmitch sudo-bmitch mentioned this pull request Jan 16, 2025
@tianon
Copy link
Member

tianon commented Jan 17, 2025

I don't believe it will be possible to fix opencontainers/[email protected] since that's a tagged release. This would need a merged fix and then a new release (v1.1.1) if external workflows are breaking.

This is probably a compelling argument for adjusting the action to take version as a parameter and pointing users at HEAD instead of a tag. 🤔

@sudo-bmitch
Copy link
Contributor

This is probably a compelling argument for adjusting the action to take version as a parameter and pointing users at HEAD instead of a tag. 🤔

I could see moving the conformance tests to a separate repo that is versioned independently (with the spec version being passed as a parameter as you suggest). That would allow development of the conformance tests, without the risk of breaking end users on every merge. Potentially that could be done with oci-conformance, separating the conformance tests added to the main branch, from the submissions in a doc branch.

That's a bigger change than I'm ready to bite off right now. I'll start with passing the spec version to a redesign of the conformance tests that I'm working on.

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.

4 participants