Skip to content

fix: docs: document router-cache benchmark fixtures #16

fix: docs: document router-cache benchmark fixtures

fix: docs: document router-cache benchmark fixtures #16

Workflow file for this run

name: coverage
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
id-token: write
concurrency:
group: coverage-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
rust-coverage:
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
cache: npm
cache-dependency-path: crates/needle-app/web/package-lock.json
- name: Build embedded frontend assets
working-directory: crates/needle-app/web
run: |
npm ci
npm run build
- uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master
with:
toolchain: 1.90.0
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@67729d5c413db75907f0ad1e39bb04b9c868ff60 # v2.85.7
with:
tool: cargo-llvm-cov
- name: Generate Rust coverage
run: cargo llvm-cov --locked --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: lcov.info
flags: rust
name: rust
use_oidc: true
fail_ci_if_error: false