Skip to content

ci: bump codecov/codecov-action from 4.6.0 to 5.0.0 (#407) #179

ci: bump codecov/codecov-action from 4.6.0 to 5.0.0 (#407)

ci: bump codecov/codecov-action from 4.6.0 to 5.0.0 (#407) #179

Workflow file for this run

on:
push:
branches:
- master
name: Code coverage
permissions:
contents: read
jobs:
check:
name: Code coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@968872560f81e7bdde9272853e65f2507c0eca7c
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}