(main) fix: use unreachable instead of panic for unreachable code #14
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: Coverage | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| pull_request: | |
| branches: | |
| - "*" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| - name: Install cargo Binstall | |
| uses: cargo-bins/cargo-binstall@main | |
| - name: Install tarpaulin | |
| run: cargo binstall -y cargo-tarpaulin | |
| - name: Check coverage | |
| run: cargo tarpaulin --doc --tests --fail-under 80 |