]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Rust release upgrade (cache v1 is discontinued). (#627)
authorNicolas Patry <patry.nicolas@protonmail.com>
Tue, 24 Jun 2025 07:33:58 +0000 (07:33 +0000)
committerGitHub <noreply@github.com>
Tue, 24 Jun 2025 07:33:58 +0000 (09:33 +0200)
.github/workflows/rust-release.yml

index 03341944683c4dd9841ede941d82c276e20d065b..0556a9068a64687b221238c7c064098a8dc6d7fb 100644 (file)
@@ -15,13 +15,9 @@ jobs:
       - name: Checkout repository
         uses: actions/checkout@v3
 
-      - name: Install Rust
-        uses: actions-rs/toolchain@v1
-        with:
-          toolchain: stable
-
+      - uses: dtolnay/rust-toolchain@stable
       - name: Cache Cargo Registry
-        uses: actions/cache@v1
+        uses: actions/cache@v4
         with:
           path: ~/.cargo/registry
           key: ubuntu-latest-cargo-registry-${{ hashFiles('**/Cargo.toml') }}