Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin tarpaulin on Rust 1.82 #1658

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading