-
Notifications
You must be signed in to change notification settings - Fork 106
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
add(ci): Check that dependencies have all been published to crates.io on release PRs #8992
base: main
Are you sure you want to change the base?
Conversation
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.
Nice one.
Do we have an issue for this one? It's ok if not, we don't need to create one |
We don't. |
I think we should create a tracker issue "make changes to the release process" and this can be part of it with also #8934 and others we might need to add. |
@mergify refresh |
✅ Pull request refreshed |
This seems to be working, i added the release label to the PR to test it: https://github.com/ZcashFoundation/zebra/actions/runs/11940756889/job/33284430420?pr=8992#step:2:721 It can probably be improved, i added @gustavovalverde as the reviewer. |
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.
LGTM
9df4d8c
to
0a5d703
Compare
Motivation
We've mistakenly published a Github release that relies on crates from a git source thrice now, so we want to add a test that runs on release PRs to check that there are no git sources in the
Cargo.lock
file.This is a draft PR because the test still needs to be added to CI and run for PRs that have the
A-release
label.Solution
Cargo.toml
file for"source = "git+"
.TODO:
A-release
labelTests
This was tested with the
restore-internal-miner
branch to ensure that it panics when there are dependencies being pulled in from git sources.PR Author's Checklist
PR Reviewer's Checklist