chore: update github actions

This commit is contained in:
Fu Diwei
2026-06-03 10:56:05 +08:00
parent ba57f6a3a1
commit 3a6f6de48c
4 changed files with 22 additions and 8 deletions
+5 -1
View File
@@ -21,7 +21,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v6
@@ -46,6 +47,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 1
persist-credentials: false
- name: Free disk space
uses: BRAINSia/free-disk-space@v2
+5 -1
View File
@@ -20,7 +20,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v6
@@ -45,6 +46,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 1
persist-credentials: false
- name: Free disk space
uses: BRAINSia/free-disk-space@v2
+10 -5
View File
@@ -12,7 +12,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v6
@@ -38,7 +39,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
@@ -82,7 +84,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
@@ -120,7 +123,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v6
@@ -161,7 +165,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Download all binaries
uses: actions/download-artifact@v6
+2 -1
View File
@@ -12,7 +12,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-depth: 1
persist-credentials: false
- name: Set up Python3
uses: actions/setup-python@v6