ci: 更新 workflows 中使用的 action,避免 node 版本低于 24 的 warning (#689)

This commit is contained in:
ᴀᴍᴛᴏᴀᴇʀ
2026-03-25 16:50:47 +08:00
committed by GitHub
parent 47ce8f148b
commit 72bf2b6a4d
4 changed files with 20 additions and 21 deletions

View File

@@ -24,7 +24,7 @@ jobs:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
- run: rustup install && rustup component add rustfmt --toolchain nightly
@@ -50,7 +50,7 @@ jobs:
working-directory: web
steps:
- name: Checkout repo
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup bun
uses: oven-sh/setup-bun@v2
with:
@@ -58,7 +58,7 @@ jobs:
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Cache dependencies
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('docs/bun.lockb') }}