Closed TheVeryDarkness closed 5 months ago
Recent updates to the project's GitHub Actions workflows and benchmarking setup enhance the development and performance evaluation processes. Key changes were made to the ci.yml
for continuous integration, the benchmark.yml
for continuous benchmarking, and several code files to improve benchmarking and maintain dependencies.
File Path | Change Summary |
---|---|
.github/workflows/ci.yml |
Added GitHub Actions workflow for building, testing, code coverage, and benchmarking of a Rust project. |
.github/workflows/benchmark.yml |
Introduced a workflow for continuous benchmarking triggered by pushes to specific branches. |
Cargo.toml |
Updated the version of the unicode-width dependency from "0.1.11" to "0.1.13". |
derive/benches/json.rs |
Renamed benchmark groups, adjusted measurement times, and updated benchmark function names for JSON parsing and checking. |
pest/src/formatter.rs |
Adjusted the visual representation of a code snippet within an assertion message for better alignment. |
In code we trust, a journey anew,
With workflows and benchmarks, our goals in view.
Rust's precision, tests that pass,
Continuous integration, none surpass.
Dependencies updated, formatting clean,
In every line, our efforts seen. 🌟🚀
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This should fix https://github.com/pest-parser/pest3/issues/6
thanks! actions-rs are unmaintained / deprecated, so it's better to use something else, e.g. the main pest repo uses https://github.com/dtolnay/rust-toolchain
Fixed.
Add a basic CI including checking with rustfmt, clippy (warnings are allowed currently), cargo test, rustdoc, test coverage with cargo-llvm-cov and benchmark with criterion.
Also updated the benchmark to check the difference between parsing and checking.
Test coverage uploading is included but it fails.
Summary by CodeRabbit
New Features
Dependencies
unicode-width
dependency from version "0.1.11" to "0.1.13".Performance Enhancements
Style