andriyDev / landmass

A navigation system for video games written in Rust.
Apache License 2.0
30 stars 2 forks source link

Add clippy and format Github Actions. #37

Closed andriyDev closed 3 months ago

andriyDev commented 3 months ago

Now pull requests will automatically determine if they satisfy clippy and rustfmt! I also fixed up all the clippy warnings so we're all green.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 87.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 98.2%. Comparing base (c8201e8) to head (900b2e7).

Additional details and impacted files | [Files](https://app.codecov.io/gh/andriyDev/landmass/pull/37?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/astar.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/37?src=pr&el=tree&filepath=src%2Fastar.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2FzdGFyLnJz) | `93.9% <100.0%> (ø)` | | | [src/avoidance.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/37?src=pr&el=tree&filepath=src%2Favoidance.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2F2b2lkYW5jZS5ycw==) | `95.7% <100.0%> (+<0.1%)` | :arrow_up: | | [src/nav\_data.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/37?src=pr&el=tree&filepath=src%2Fnav_data.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL25hdl9kYXRhLnJz) | `99.3% <100.0%> (-0.1%)` | :arrow_down: | | [src/path.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/37?src=pr&el=tree&filepath=src%2Fpath.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3BhdGgucnM=) | `91.6% <100.0%> (-0.1%)` | :arrow_down: | | [src/pathfinding.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/37?src=pr&el=tree&filepath=src%2Fpathfinding.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3BhdGhmaW5kaW5nLnJz) | `100.0% <100.0%> (ø)` | | | [src/lib.rs](https://app.codecov.io/gh/andriyDev/landmass/pull/37?src=pr&el=tree&filepath=src%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2xpYi5ycw==) | `91.3% <57.1%> (-1.1%)` | :arrow_down: |