change crate category to match one from crates.io/category_slugs #109
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: | |
push: | |
branches: | |
- dev | |
- main | |
paths: | |
- '**.rs' | |
- '**.toml' | |
- '.github/workflows/coverage.yml' | |
- '.github/workflows/scripts/coverage.sh' | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
components: llvm-tools-preview | |
- uses: actions-rs/[email protected] | |
with: | |
crate: cargo-binutils | |
version: 0.3.3 | |
- uses: actions-rs/[email protected] | |
with: | |
crate: rustfilt | |
version: 0.2.1 | |
- name: Run test coverage | |
run: bash .github/workflows/scripts/coverage.sh | |
- uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: coverage/coverage.info |