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 improvements #275

Merged
merged 2 commits into from
Nov 10, 2020
Merged

ci improvements #275

merged 2 commits into from
Nov 10, 2020

Conversation

Fishrock123
Copy link
Member

  • run on "main"
  • really check everything
  • move to non-deprecated --workspace from --all
  • reduce unecessary actions-rs usage
  • really clippy everything
  • docs without deps
  • run fmt-clippy-docs on beta

- run on "main"
- really check everything
- move to non-deprecated --workspace from --all
- reduce unecessary actions-rs usage
- really clippy everything
- docs without deps
Comment on lines 58 to 59
rustup toolchain install beta
rustup default beta
Copy link
Member

Choose a reason for hiding this comment

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

Can you say more why using beta makes sense here?

Copy link
Member

Choose a reason for hiding this comment

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

Oh I guess it's just to get us off nightly?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, nightly is currently missing rustfmt...

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.

No objections; just a question

@Fishrock123
Copy link
Member Author

Hmm, right we'd need to actually install clippy and rustfmt for beta. How about we just use stable? it's preinstalled on the github actions images and so it would be much faster. But maybe we want to be ahead of the game with beta? Not 100% sure.

@yoshuawuyts What do you think?

Avoids components sometimes not being available on nightly, and has less complexity than running beta.
@Fishrock123
Copy link
Member Author

Fishrock123 commented Nov 10, 2020

Ok, this works now, and has less complexity to just run fmt-clippy-docs on stable, as discussed in zulip.

Merging this and the equivalent PRs on the other repos. Well, some of the other PRs have different issues.

@Fishrock123 Fishrock123 merged commit aa1beeb into http-rs:main Nov 10, 2020
@Fishrock123 Fishrock123 deleted the ci-improvements branch November 10, 2020 01:12
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