Skip to content

chore: silence dead_code warnings on Phase 2 stubs #2

chore: silence dead_code warnings on Phase 2 stubs

chore: silence dead_code warnings on Phase 2 stubs #2

Workflow file for this run

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