-
Notifications
You must be signed in to change notification settings - Fork 10
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
Move CI checks to Makefile #187
Comments
I think that makes sense. I've also been doing that on some of my projects. My approach was a bit different, though, in that I kept the So for
(or so; for illustration only) |
The only reason why I decided to move the toolchain installation to the Makefile is that I only want to have one place that defines the MSRV. (Maybe that could also be solved by using a text file that is read by the CI script and the Makefile.) As a developer, I don’t care about these targets. I’d like to have |
Okay, but I am not sure I'd want the MSRV in the
Yeah, it was just an illustration.
Wouldn't you use Again, to me it's not about 100% mirroring what the CI does. It's about having sufficient confidence to open a pull request. Could it still turn out red? Yes, although with a low likelihood. Anyway, I don't feel strongly about this direction. If you want to include MSRV knowledge in the |
I was just referring to your example that does not have an option to build or check without running the tests. Of course checking is more suited for development. (Just keep in mind that some |
Executing all CI checks locally is currently non-trivial. What do you think about moving the
cargo build
,cargo clippy
andcargo fmt
invocations to the Makefile to make it easier to check changes before pushing them? For reference, I just did the same fornitrokey-rs
.The text was updated successfully, but these errors were encountered: