chore: silence dead_code warnings on Phase 2 stubs #2
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Prepare cache key | |
| id: cache-key | |
| run: | | |
| HASH=$(sha256sum Cargo.lock | cut -d' ' -f1) | |
| echo "cargo-lock-hash=$HASH" >> "$GITHUB_OUTPUT" | |
| - uses: jdx/mise-action@v2 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo | |
| target | |
| key: v0-linux-${{ runner.arch }}-${{ steps.cache-key.outputs.cargo-lock-hash }} | |
| - run: mise run check | |
| coverage: | |
| needs: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Prepare cache key | |
| id: cache-key | |
| run: | | |
| HASH=$(sha256sum Cargo.lock | cut -d' ' -f1) | |
| echo "cargo-lock-hash=$HASH" >> "$GITHUB_OUTPUT" | |
| - uses: jdx/mise-action@v2 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo | |
| target | |
| key: v0-linux-${{ runner.arch }}-${{ steps.cache-key.outputs.cargo-lock-hash }} | |
| - run: cargo install cargo-llvm-cov | |
| - run: mise run coverage:check |