-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from robsdedude/ci/api-checks
CI: add automated API checks
- Loading branch information
Showing
11 changed files
with
2,293 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Contributing | ||
|
||
## Used Tools | ||
### Pre-Commit | ||
https://pre-commit.com/ | ||
Automatically runs some checks before committing, so you don't have to wait for the CI to complain. | ||
```bash | ||
pip install pre-commit | ||
pre-commit install | ||
``` | ||
|
||
To skip the checks, use `git commit --no-verify`. | ||
|
||
|
||
### Cargo Public API | ||
https://github.com/enselic/cargo-public-api | ||
If you intentionally change the public API, you need to run: | ||
```bash | ||
UPDATE_EXPECT=1 cargo test --workspace --features _internal_public_api public_api | ||
``` | ||
**IMPORTANT:** make sure to run this with the latest stable toolchain have all the latest blanket impls included. | ||
|
||
|
||
### Cargo Check External Types | ||
https://github.com/awslabs/cargo-check-external-types | ||
```bash | ||
cargo install --locked cargo-check-external-types | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.