encoding_rs
encoding_rs copied to clipboard
Add minimal CI workflow using GitHub Actions
Hi, thank you for maintaining this great crate.
This PR adds a minimal CI workflow which will help you notice build breaks easily. Since this crate is very popular (15720778 times downloaded recently), I think it is important to keep all tests pass successfully.
The README.md file contains a Travis CI badge so I guess this project used it. However Travis CI no longer works at this time.
This minimal GitHub Actions CI workflow does the following:
- Unit test
- Runs
cargo test
with stable Rust on Linux, macOS, and Windows
- Runs
- Formatting
- Check code formatting with rustfmt with nightly toolchain since the configuration in
rustfmt.toml
is only available on nightly
- Check code formatting with rustfmt with nightly toolchain since the configuration in
Here is an example of workflow run on my fork: https://github.com/rhysd/encoding_rs/actions/runs/8777306722