Skip to content

Commit b6c036a

Browse files
chore: Harden GitHub Actions (#583)
1 parent 8278ffd commit b6c036a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ jobs:
3030
echo $env:PATH >> $env:GITHUB_PATH
3131
3232
- name: Setup Node.js
33-
uses: actions/setup-node@v4
33+
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
3434
with:
3535
node-version: 20.18.0
3636

3737
- name: Setup Docker
38-
uses: docker/setup-buildx-action@v3
38+
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
3939
if: runner.os == 'Linux'
4040

4141
- name: Fetch
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4343
with:
4444
fetch-depth: 1
4545

4646
# Skip macOS & Windows, cache there is slower
4747
- name: Restore node_modules cache for Linux
48-
uses: actions/cache@v4
48+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4949
with:
5050
path: ~/.npm
5151
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)