-
Notifications
You must be signed in to change notification settings - Fork 5
minimal-versions: modify root workspace instead of replacing it #54
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
Conversation
| EOF | ||
| - name: Remove other members from the workspace | ||
| run: sed -z -E | ||
| "s/members = \\[([A-Za-z0-9_,-]|\"|\\n|\\s)*\\]/members = [\"${{ inputs.working-directory }}\"]/g" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My regexp-fu is far from the master level, so this expression can be probably simplified and/or made more precise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it works it works, I guess
|
Note that unused patches can result in warnings on |
|
Of course right when I stamp it there's a build failure, heh https://github.com/RustCrypto/hashes/actions/runs/21214764058/job/61034425331?pr=773 |
Doing it preserves other workspace settings such as lints, patches, and build profiles. Notably, it means that we no longer need to disable minimal-versions jobs when temporary patching is used.
The new config is tested in RustCrypto/hashes#773