Skip to content

chore(ci): SPDX headers on line 1 and Actions lockfile minted (#174) #511

chore(ci): SPDX headers on line 1 and Actions lockfile minted (#174)

chore(ci): SPDX headers on line 1 and Actions lockfile minted (#174) #511

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
# This workflow is managed by gh actions-lock.
name: Code Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
coverage:
name: Generate Coverage Report
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@v5.0.1
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
with:
toolchain: stable
components: llvm-tools-preview
- name: Install cargo-llvm-cov
run: cargo install cargo-llvm-cov
- name: Generate coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload to codecov
uses: codecov/codecov-action@v5.5.2
with:
files: lcov.info
fail_ci_if_error: false