Skip to content

Merge pull request #275 from step-security/fix/vulnerabilities #682

Merge pull request #275 from step-security/fix/vulnerabilities

Merge pull request #275 from step-security/fix/vulnerabilities #682

Workflow file for this run

name: coverage
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions: {}
jobs:
coverage:
strategy:
fail-fast: false
matrix:
os: ${{ github.actor == 'dependabot[bot]' && fromJSON('["ubuntu-latest"]') || fromJSON('["ubuntu-latest", "macos-latest", "windows-latest"]') }}
name: Test `cargo-llvm-cov` on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
- uses: taiki-e/install-action@59679e24ffb0dbbbc136684eda7fcd21fe9eddea # v2.63.0
with:
tool: cargo-llvm-cov
- uses: ./
with:
workspaces: tests
- run: cargo llvm-cov --all-features --workspace
working-directory: tests