]> Untitled Git - bdk/commitdiff
ci(coverage): Switch to `actions-rust-lang/setup-rust-toolchain`
authorvalued mammal <valuedmammal@protonmail.com>
Fri, 10 Oct 2025 13:27:59 +0000 (09:27 -0400)
committer志宇 <hello@evanlinjin.me>
Thu, 16 Oct 2025 05:42:46 +0000 (05:42 +0000)
.github/workflows/code_coverage.yml

index d6d8e9acf1ff4e7c083a5ae3be61334a13953343..dbbdc6632680bfc6c03030796bf3c4f533b06cfc 100644 (file)
@@ -16,14 +16,12 @@ jobs:
       - name: Install lcov tools
         run: sudo apt-get install lcov -y
       - name: Install Rust toolchain
-        uses: actions-rs/toolchain@v1
+        uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
             toolchain: nightly
             override: true
-            profile: minimal
+            cache: true
             components: llvm-tools-preview
-      - name: Rust Cache
-        uses: Swatinem/rust-cache@v2.7.8
       - name: Install cargo-llvm-cov
         run: if [[ ! -e ~/.cargo/bin/cargo-llvm-cov ]]; then cargo install cargo-llvm-cov; fi
       - name: Make coverage directory