Skip to content

Commit 1c736fd

Browse files
Merge pull request #1175 from Fdawgs/ci/pin
ci: pin github actions to commit-hash
2 parents 217dd5e + 704a9b4 commit 1c736fd

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ jobs:
1414
os: [macos-latest, ubuntu-latest, windows-latest]
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
persist-credentials: false
2020

2121
- name: use node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2323
with:
2424
node-version: ${{ matrix.node-version }}
2525
cache: npm
26+
check-latest: true
2627

2728
- name: install
2829
run: |

.github/workflows/coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ jobs:
1313
contents: read
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717
with:
1818
persist-credentials: false
1919

20-
- uses: actions/setup-node@v4
20+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2121
with:
2222
node-version: '20'
2323
cache: npm
24+
check-latest: true
2425

2526
- run: npm ci
2627
- run: npm i -g c8 codecov

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ jobs:
1717
# delegate to the build- and-test workflow, but I haven't found a way to do
1818
# that yet.
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
persist-credentials: false
2323

24-
- uses: actions/setup-node@v4
24+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2525
with:
2626
node-version: 20.x
2727
cache: npm
28+
check-latest: true
2829

2930
- name: install
3031
run: |

0 commit comments

Comments
 (0)