summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-09-25 16:15:43 +0800
committer魏曹先生 <1992414357@qq.com>2025-09-25 16:15:43 +0800
commit8b1863fc35584b7d55f52c2e5a915bed5e0ae291 (patch)
tree3d6eca3bc5e8ae096976691c4d0c0c72dfdeee23 /.github
parente22bed0c8f6b052fd3b39cb20cc3aea9b0f72dc8 (diff)
Update GitHub Actions to latest versions
- Update upload-artifact from v3 to v4 - Update cache action from v3 to v4 - Keep actions/checkout@v4 (already up to date) - Ensure all actions use latest stable versions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index c648754..794df56 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Restore cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/registry
@@ -57,7 +57,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Restore cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/registry
@@ -86,7 +86,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Restore cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: |
~/.cargo/registry
@@ -96,7 +96,7 @@ jobs:
- name: Build release binaries
run: cargo build --workspace --release
- name: Upload artifacts
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: release-binaries
path: target/x86_64-unknown-linux-musl/release/