-
Notifications
You must be signed in to change notification settings - Fork 6
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
Improve CI workflows #37
Conversation
InputUsername
commented
Jul 28, 2024
•
edited
Loading
edited
- Update CI workflow to checkout@v4
- Add workflow to check formatting
- Add workflow to verify MSRV (fixes Properly handle minimum supported Rust version (MSRV) #28)
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.
Only one thing - other than that, LGTM.
@@ -11,7 +11,7 @@ description = "ListenBrainz API bindings for Rust" | |||
keywords = ["listenbrainz", "api", "bindings"] | |||
categories = ["api-bindings"] | |||
publish = true | |||
rust-version = "1.58" | |||
rust-version = "1.63.0" |
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.
For some reason cargo-msrv on my machine claims the MSRV is 1.58, but the workflow claims 1.63.0. Not sure why this is happening.
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.
Is cargo-msrv
up to date, as well as your Rsut toolchian? What does rustc -V
report in the project dir?
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.
Yep. I updated Rust and cargo-msrv and ran it, and it spit out 1.58.1. However, for some reason now it's claiming 1.63.0, so I guess I may have had a stale build cache or something.
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!