Skip to content

Bump actions/checkout from 3.5.3 to 4.1.0 #162

Bump actions/checkout from 3.5.3 to 4.1.0

Bump actions/checkout from 3.5.3 to 4.1.0 #162

Workflow file for this run

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/checkout@v4.1.0
with:
persist-credentials: false
- uses: actions-rs/toolchain@v1.0.7
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/codecov-action@v3.1.4