Skip to content

Commit

Permalink
Pin GitHub Actions workflows to a specific version
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Nov 14, 2023
1 parent 30ebcb1 commit 7a10ce9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Use Node LTS
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
# Here, use the LTS/stable version of the track's tooling, e.g.:
node-version: 12.4
Expand All @@ -50,9 +50,9 @@ jobs:
# Optionally, add more matrix variables, such as os or arch

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Use Node ${{ matrix.version }}
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c

- name: Install project dependencies
run: yarn
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

steps:
- name: Checkout PR
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744

- name: Use Node.js LTS (12.x)
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c
with:
# Here, use the LTS/stable version of the track's tooling, e.g.:
# node-version: 12.x
Expand All @@ -50,7 +50,7 @@ jobs:

steps:
- name: Use Node ${{ matrix.version }}
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c

- name: Install project dependencies
run: yarn
Expand Down

0 comments on commit 7a10ce9

Please sign in to comment.