Skip to content

Bump codecov/codecov-action from 3.1.4 to 4.0.2 #67

Bump codecov/codecov-action from 3.1.4 to 4.0.2

Bump codecov/codecov-action from 3.1.4 to 4.0.2 #67

Workflow file for this run

name: Coverage
on: [pull_request, push]
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Rust
run: rustup update stable
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@f23140dab9d53af716ede5c5e74661a2a8de049c # cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --workspace --codecov --output-path codecov.json
- name: Upload coverage to Codecov
uses: codecov/codecov-action@0cfda1dd0a4ad9efc75517f399d859cd1ea4ced1 # v4.0.2
with:
files: codecov.json
fail_ci_if_error: true