Skip to content

style: address lints (#127) #266

style: address lints (#127)

style: address lints (#127) #266

Workflow file for this run

on:
push:
branches: [main]
pull_request:
name: Code Coverage
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: llvm-tools-preview
- name: Install D2
run: |
curl -fsSL https://d2lang.com/install.sh | sh -s --
echo "$(which d2)" >> $GITHUB_PATH
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run llvm-cov
run: cargo llvm-cov --doctests --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}