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

Commit Cargo.lock to repository #346

Merged
merged 2 commits into from
Sep 28, 2023
Merged

Conversation

kpcyrd
Copy link
Contributor

@kpcyrd kpcyrd commented Sep 28, 2023

Related to #345

@kpcyrd kpcyrd force-pushed the cargo-lock-cargo-audit branch from 20f51a7 to b9874fd Compare September 28, 2023 13:14
@kpcyrd kpcyrd changed the title Commit Cargo.lock to repository and add cargo-audit github action Commit Cargo.lock to repository Sep 28, 2023
@djc
Copy link
Member

djc commented Sep 28, 2023

I think you'll want to make sure CI jobs use --locked to that the Cargo.lock is actually getting tested.

Copy link
Member

@cpu cpu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me and seems in keeping with the updated guidance from the Rust project on committing lockfiles 👍

@kpcyrd
Copy link
Contributor Author

kpcyrd commented Sep 28, 2023

I've added --locked in multiple places, if Cargo.lock is compatible with Cargo.toml it should be picked up automatically, if it's out-of-sync multiple jobs would now start failing (including make).

@kpcyrd kpcyrd force-pushed the cargo-lock-cargo-audit branch from 79dea19 to 8a9eaef Compare September 28, 2023 14:49
@cpu
Copy link
Member

cpu commented Sep 28, 2023

@jsha Do you have any reservations about checking in the Cargo.lock for this project?

Copy link
Collaborator

@jsha jsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

@jsha jsha merged commit 6c24d48 into rustls:main Sep 28, 2023
@kpcyrd kpcyrd deleted the cargo-lock-cargo-audit branch September 28, 2023 22:26
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