Skip to content

refactor: give lambda parameters telling names where it makes sense #118

refactor: give lambda parameters telling names where it makes sense

refactor: give lambda parameters telling names where it makes sense #118

Workflow file for this run

name: Coverage
on:
pull_request:
push:
branches:
- 'main'
- 'releases/**'
jobs:
coverage:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.71.1
override: true
- name: Install protoc
uses: arduino/setup-protoc@v2
- name: Cache build artifacts
uses: Swatinem/rust-cache@v2
with:
shared-key: "cache"
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true