test coverage grown to 100% function coverage #27
This file contains hidden or 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
| name: Cargo Format | |
| on: | |
| push: | |
| paths: | |
| - '**/*.rs' | |
| pull_request: | |
| paths: | |
| - '**/*.rs' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| format: | |
| name: Check Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: nightly | |
| override: true | |
| components: rustfmt | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check |