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

Allow specifying the manifest path (Cargo.toml) #33

Merged
merged 6 commits into from
Aug 28, 2024
Merged

Conversation

BD103
Copy link
Collaborator

@BD103 BD103 commented Aug 26, 2024

Closes #30!

This adds the manifest-path input to this action, which defaults to the Cargo.toml in the current working directory. For motivation behind this change, please see the linked issue.

This changed required a small refactor of our Cargo detection logic. Because I used cargo locate-project to find the Cargo.lock, I moved the entire check that Cargo is installed to a separate, earlier step. As part of this change I modified the wording slightly, but it should still behave the same.

@BD103 BD103 added the enhancement New feature or request label Aug 26, 2024
@BD103 BD103 marked this pull request as ready for review August 26, 2024 17:58
@BD103 BD103 requested a review from TimJentzsch August 26, 2024 17:58
@TimJentzsch TimJentzsch merged commit 5d5d363 into main Aug 28, 2024
3 checks passed
@TimJentzsch TimJentzsch deleted the manifest-path branch August 28, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to specify location of Cargo.toml
2 participants