Bump actions/checkout from 3.5.3 to 4.1.0 (#71) #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
coverage: | |
name: Coverage (+nightly) | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: nightly | |
override: true | |
profile: minimal | |
components: llvm-tools-preview | |
- name: Install cargo-llvm-cov cargo command | |
run: cargo install cargo-llvm-cov | |
- name: Run tests | |
run: cargo llvm-cov --lcov --no-report | |
- name: Generate coverage report | |
run: cargo llvm-cov --lcov --no-run --output-path lcov.info | |
- name: Upload coverage report to Codecov | |
uses: codecov/[email protected] |