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

add github actions workflows + pre-commit hooks #12

Merged
merged 5 commits into from
Sep 24, 2020
Merged

add github actions workflows + pre-commit hooks #12

merged 5 commits into from
Sep 24, 2020

Conversation

logannc
Copy link
Owner

@logannc logannc commented Sep 24, 2020

Runs cargo check, cargo fmt, cargo test, and clippy on all PRs and commits on master.

I also added pre-commit hooks which help prevent bad or non-functional commits. It is technically not required, but will help prevent PRs being blocked by clippy or formatting.

@logannc logannc self-assigned this Sep 24, 2020
@logannc
Copy link
Owner Author

logannc commented Sep 24, 2020

I expect the pre-commit and actions to be slightly off and need tweaking once or twice before it's the same.

@logannc
Copy link
Owner Author

logannc commented Sep 24, 2020

In particular, I suspect that clippy is not running quite the same, but I'm not 100% sure. It's fine for now.

@logannc logannc merged commit d1fb09e into master Sep 24, 2020
@logannc
Copy link
Owner Author

logannc commented Sep 24, 2020

doublify/pre-commit-rust#13 should fix the clippy issue (after updating precommit to use the new version of the hook...)

@logannc logannc deleted the workflow branch February 13, 2021 00:20
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.

1 participant