Skip to content

Run cargo fmt from CLI as IDE keeps missing cfg line #83

Run cargo fmt from CLI as IDE keeps missing cfg line

Run cargo fmt from CLI as IDE keeps missing cfg line #83

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@7f8b4b4bde536c465e797be725718b88c5d95e0e
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}