Skip to content

Conversation

@newpavlov
Copy link
Member

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

@newpavlov newpavlov requested a review from tarcieri January 21, 2026 15:17
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"
Copy link
Member Author

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.

Copy link
Member

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

@newpavlov
Copy link
Member Author

Note that unused patches can result in warnings on cargo update, but it does no cause the job failure, so I guess it's fine.

@tarcieri
Copy link
Member

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

@newpavlov
Copy link
Member Author

@newpavlov newpavlov merged commit 791a8da into RustCrypto:master Jan 21, 2026
1 check passed
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