diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 66107eb14..89d29ba61 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -6,9 +6,9 @@ on: - main pull_request: paths: - - '**.rs' - - '**.toml' - - '**.yml' + - "**.rs" + - "**.toml" + - "**.yml" jobs: tarpaulin-codecov: @@ -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/rust-toolchain@1.82.0 - uses: Swatinem/rust-cache@v2 - name: Install tarpaulin uses: taiki-e/install-action@v2 @@ -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: diff --git a/justfile b/justfile index 3ba5c4d14..9fe9a393b 100644 --- a/justfile +++ b/justfile @@ -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: