build(cargo): update crossterm requirement from 0.25 to 0.27 (#25) #71
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: Test Coverage | |
on: | |
push: | |
pull_request: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Rust | |
shell: bash -eux {0} | |
run: | | |
rustup toolchain install stable --profile minimal --component llvm-tools-preview | |
rustup default stable | |
- name: Install cargo-llvm-cov | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: cargo-llvm-cov | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
key: coverage-${{ hashFiles('**/Cargo.lock') }} | |
path: | | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
- name: Run cargo-llvm-cov | |
run: cargo llvm-cov --all-features --html | |
- name: Upload Report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: coverage-report | |
path: target/llvm-cov/html |