Skip to content

Commit 3facefb

Browse files
authored
chore: upgrade GitHub Actions to latest versions (#187)
Keep CI workflows on supported action releases and pin third-party actions to stable tags instead of floating branches.
1 parent 82705b3 commit 3facefb

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/compress.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
if: github.repository == 'doocs/source-code-hunter'
1212
steps:
1313
- name: Checkout Branch
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v7
1515

1616
- name: Compress Images
1717
id: calibre
18-
uses: calibreapp/image-actions@main
18+
uses: calibreapp/image-actions@1.5.0
1919
with:
2020
githubToken: ${{ secrets.GITHUB_TOKEN }}
2121
compressOnly: true
@@ -31,6 +31,6 @@ jobs:
3131
- name: Push Changes
3232
if: |
3333
steps.calibre.outputs.markdown != ''
34-
uses: ad-m/github-push-action@master
34+
uses: ad-m/github-push-action@v1.3.0
3535
with:
3636
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v7
1313
with:
1414
fetch-depth: 0
1515

1616
- name: Setup pnpm
17-
uses: pnpm/action-setup@v4
17+
uses: pnpm/action-setup@v6
1818

1919
- name: Setup Node.js
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v6
2121
with:
2222
node-version: 22
2323
cache: pnpm
@@ -32,7 +32,7 @@ jobs:
3232
run: echo "schunter.doocs.org" > docs/.vitepress/dist/CNAME
3333

3434
- name: Upload artifact
35-
uses: actions/upload-pages-artifact@v3
35+
uses: actions/upload-pages-artifact@v5
3636
with:
3737
path: docs/.vitepress/dist
3838

@@ -48,4 +48,4 @@ jobs:
4848
steps:
4949
- name: Deploy to GitHub Pages
5050
id: deployment
51-
uses: actions/deploy-pages@v4
51+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)