Skip to content

Commit

Permalink
Merge pull request kube-rs#1658 from nightkr/chore/tarpaulin-1.82
Browse files Browse the repository at this point in the history
Pin tarpaulin on Rust 1.82
  • Loading branch information
nightkr authored Dec 4, 2024
2 parents 3ee4ae5 + ce64e98 commit 60d3ebc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- main
pull_request:
paths:
- '**.rs'
- '**.toml'
- '**.yml'
- "**.rs"
- "**.toml"
- "**.yml"

jobs:
tarpaulin-codecov:
Expand All @@ -17,7 +17,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
# tarpaulin is currently broken for Rust 1.83, see #1657
uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
- name: Install tarpaulin
uses: taiki-e/install-action@v2
Expand All @@ -35,7 +36,8 @@ jobs:

- name: Run cargo-tarpaulin
run: |
rustup run stable cargo tarpaulin -o xml --skip-clean
# tarpaulin is currently broken for Rust 1.83, see #1657
rustup run 1.82.0 cargo tarpaulin -o xml --skip-clean
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
Expand Down
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ test-integration:
cargo run -p kube-examples --example crd_api

coverage:
cargo tarpaulin --out=Html --output-dir=.
# tarpaulin is currently broken for Rust 1.83, see #1657
cargo +1.82.0 tarpaulin --out=Html --output-dir=.
{{open}} tarpaulin-report.html

hack:
Expand Down

0 comments on commit 60d3ebc

Please sign in to comment.