Skip to content

chore(deps): Bump codecov/codecov-action from 4.6.0 to 5.0.0 #1613

chore(deps): Bump codecov/codecov-action from 4.6.0 to 5.0.0

chore(deps): Bump codecov/codecov-action from 4.6.0 to 5.0.0 #1613

Workflow file for this run

name: Coverage
on: [ pull_request, push ]
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
allowed-endpoints: >
api.github.com:443
cli.codecov.io:443
codecov.io:443
crates.io:443
github.com:443
index.crates.io:443
kv4gacprodeus2file3.blob.core.windows.net:443
objects.githubusercontent.com:443
static.crates.io:443
static.rust-lang.org:443
storage.googleapis.com:443
uploader.codecov.io:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@6e2226b90b9a51735a2363fdd379c7545cfd8748 # cargo-llvm-cov
- name: Install dependencies
run: sudo apt-get install -y libmagic-dev
- name: Generate code coverage
run: cargo llvm-cov --features=sqlite --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@968872560f81e7bdde9272853e65f2507c0eca7c # v5.0.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: false