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

Version the workflows #75

Open
award999 opened this issue Dec 9, 2024 · 2 comments
Open

Version the workflows #75

award999 opened this issue Dec 9, 2024 · 2 comments

Comments

@award999
Copy link
Contributor

award999 commented Dec 9, 2024

Even if we put #73 in place, we could tag or create release branches so that downstream "uses" of swift_package_test.yml specify a constant semvar version instead of always working off of main which is more susceptible to breaking.

For example: swiftlang/github-workflows/.github/workflows/[email protected]

Looks possible to automate with certain marketplace actions like https://github.com/marketplace/actions/tag-release-on-push-action, but manually bumping as need may be sufficient

@FranzBusch
Copy link
Member

Yes we should tag releases at some point and depend on this. We still have some ongoing discussion if we can merge the NIO test workflows into this repo which might impact the API of the workflows. Once we figured that out we should move to Semantic versioning.

@MahdiBM
Copy link

MahdiBM commented Dec 11, 2024

To add to this, the downstream repos can use dependabot for GitHub Actions action-updates, so dependabot automatically prompts those repos to update the workflow versions, specially if there is a new major version, and also considering something like @v1 means "up to next major, from v1", and doesn't mean "pinned to v1".

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

No branches or pull requests

3 participants