-
-
Notifications
You must be signed in to change notification settings - Fork 123
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 and fix clippy #290
Conversation
* `actions/checkout` is updated from `v1` to the current `v4`. * `actions-rs/toolchain` is replaced by `dtolnay/rust-toolchain` as the `actions-rs` actions haven't been maintained in a long time.
The parameter takes `IntoIterator`, so we don't have to call `into_iter` at the call site.
Due to changes in the nightly compiler, using a recent nightly requires proc-macro2 1.0.60 or later: dtolnay/proc-macro2#356
@zkat Fixing the MSRV builds may require updating the MSRV to 1.63 or later. Please advise as to how you'd like to proceed. |
@waywardmonkeys bumping the MSRV is a semver-major so it should be a separate PR. I'm trying to debate "this is already broken, so an MSRV bump should just be a semver-patch, rather than a semver-major". I really hate having to do semver-major changes for tiny stuff like this. |
@zkat I agree! I can argue either side of it here, so I didn't know what to do. We can at least get most things fixed and I'll be happy to do what's needed in a follow up PR.
We could modify the build for the MSRV to use |
ugh. See, it feels incredibly rude to do an MSRV bump in a patch release. I'm ok with locking our |
You might want to consider committing a lockfile that has version 0.4.7 of |
@Benjamin-L Interesting ... maybe a possible follow up? |
I think pinning the dependency in [package]
name = "miette-290-test"
version = "0.1.0"
edition = "2021"
[dependencies]
is-terminal = "0.4.8"
[dependencies.miette]
git = "https://github.com/waywardmonkeys/miette.git"
branch = "improve-ci-and-fix-clippy"
features = [ "fancy" ] The semver docs don't say anything about this situation, however the cargo dependency docs discourage upper bounds on library crates for this reason. |
It is after midnight here, so tomorrow, I will look at fixing this in the CI scripts, instead of pinning the version like I did here. |
is-terminal 0.4.8 updated its MSRV to 1.63, so we can't use it with our MSRV of 1.56. Force usage of the older version which has an older MSRV.
440ec54
to
c95e194
Compare
@zkat @Benjamin-L I pushed a different way to resolve it. What do you think? |
I'm fine with this. |
No description provided.