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

ci: run clippy, docs and fmt checks on stable #756

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

mendelt
Copy link
Contributor

@mendelt mendelt commented Dec 4, 2020

The build was failing for a while because clippy, doc-tests and cargo fmt are run on rust nightly. Unfortunately the nightly build does not always include all these components. In this case cargo fmt was failing.
It used to be necessary to run clippy on nightly so I assume this is why these steps were run on nightly for the Tide build. This is not necessary anymore. This pr changes the build script to run these steps on rust stable.

@mendelt
Copy link
Contributor Author

mendelt commented Dec 4, 2020

I just noticed this has 100% overlap with #736 which even does a bit more. I'll leave this pr open for now but if 736 is merged this can be closed.

I think this ran on nightly because clippy needed that. I'm pretty sure clippy runs fine on stable now.
@mendelt mendelt marked this pull request as ready for review December 4, 2020 18:30
@mendelt mendelt changed the title run clippy, docs and fmt checks on stable ci: run clippy, docs and fmt checks on stable Dec 12, 2020
Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

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

#736 is currently failing; I believe it can be rebased on this PR if required, and we do need to fix some of these things. With that in mind I'm going to go ahead and merge this

@yoshuawuyts yoshuawuyts merged commit 36a031e into http-rs:main Dec 18, 2020
@mendelt mendelt deleted the run_checks_on_stable branch December 21, 2020 21:02
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.

2 participants