Skip to content

Commit 7819ea5

Browse files
Updated versions for GitHub actions (#279)
1 parent d0af3e1 commit 7819ea5

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Use Node.js
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3232
with:
3333
node-version: '18'
3434
- name: Checkout
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
- name: Setup Pages
3737
id: pages
38-
uses: actions/configure-pages@v3
38+
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
3939
- name: Build
4040
env:
4141
# For maximum backward compatibility with Hugo modules
@@ -45,7 +45,7 @@ jobs:
4545
npm install
4646
npm run build
4747
- name: Upload artifact
48-
uses: actions/upload-pages-artifact@v1
48+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4949
with:
5050
path: ./public
5151

@@ -58,5 +58,5 @@ jobs:
5858
steps:
5959
- name: Deploy to GitHub Pages
6060
id: deployment
61-
uses: actions/deploy-pages@v2
61+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
6262

.github/workflows/links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Use Node.js
14-
uses: actions/setup-node@v3
14+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1515
with:
1616
node-version: '18'
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919
- name: Install
2020
run: npm ci
2121
- name: Check links

.github/workflows/preview.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Use Node.js
23-
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
23+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2424
with:
2525
node-version: '18'
2626
- name: Checkout
27-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
27+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
with:
2929
ref: ${{ github.event.pull_request.head.sha }}
3030
- name: Build
3131
run: |
3232
npm install
3333
npm run build
3434
- name: Upload artifact
35-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
35+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3636
with:
3737
name: "site"
3838
path: ./public
@@ -49,13 +49,13 @@ jobs:
4949
# checkout required for pr-preview-action to succeed,
5050
# while the content will not be used
5151
- name: Checkout
52-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
52+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5353
- name: Download the preview page
54-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
54+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
5555
with:
5656
name: "site"
5757
path: ./public
58-
- uses: rossjrw/pr-preview-action@4668d7cb417ce7067b0b59bc152b1ae1513010de # v1.4.6
58+
- uses: rossjrw/pr-preview-action@2fb559e4766555e23d07b73d313fe97c4f8c3cfe # v1.6.1
5959
id: deployment
6060
with:
6161
source-dir: ./public
@@ -75,8 +75,8 @@ jobs:
7575
# checkout required for pr-preview-action to succeed,
7676
# while the content will not be used
7777
- name: Checkout
78-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
79-
- uses: rossjrw/pr-preview-action@4668d7cb417ce7067b0b59bc152b1ae1513010de # v1.4.6
78+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
79+
- uses: rossjrw/pr-preview-action@2fb559e4766555e23d07b73d313fe97c4f8c3cfe # v1.6.1
8080
id: deployment
8181
with:
8282
preview-branch: previews

0 commit comments

Comments
 (0)