Skip to content

Commit

Permalink
Fix workflow for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MitMaro committed Jul 21, 2023
1 parent 6e5c086 commit 934c1dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2022-11-21
toolchain: nightly
- uses: Swatinem/rust-cache@v2
- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
- uses: baptiste0928/cargo-install@v2
with:
timeout: 10
out-type: Lcov
args: '--all-features --ignore-tests --line --output-dir coverage'
crate: cargo-tarpaulin
- name: Run cargo-tarpaulin
run: |
cargo +nightly tarpaulin --all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov
- name: Post to Coveralls
uses: coverallsapp/github-action@master
with:
Expand All @@ -74,10 +74,10 @@ jobs:
runs-on: [ubuntu-latest]
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2022-11-21
toolchain: nightly
components: rustfmt
- uses: Swatinem/rust-cache@v2
- uses: baptiste0928/cargo-install@v1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Crates.io](https://img.shields.io/crates/v/version_track.svg)](https://crates.io/crates/captur)
[![Crates.io](https://img.shields.io/crates/v/version_track.svg)](https://crates.io/crates/version_track)
[![docs](https://docs.rs/version_track/badge.svg)](https://docs.rs/version-track/)
[![GitHub license](https://img.shields.io/github/license/MitMaro/version-track)](https://raw.githubusercontent.com/MitMaro/version-track/master/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/MitMaro/version-track/badge.svg?branch=main)](https://coveralls.io/github/MitMaro/version-track?branch=main)
Expand Down

0 comments on commit 934c1dd

Please sign in to comment.