Skip to content

Commit

Permalink
Update node-version and actions/*
Browse files Browse the repository at this point in the history
  • Loading branch information
DougDyreng committed Mar 28, 2024
1 parent f17242f commit 5af8184
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-and-review-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -103,16 +103,16 @@ jobs:

- name: Checkout
if: env.HAS_CODE_CHANGES == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4

# -----------------------------------
# Check if action has been recompiled
# -----------------------------------
- name: If action has build step - Setup Node 16.x
uses: actions/setup-node@v3
- name: If action has build step - Setup Node 20.x
uses: actions/setup-node@v4
if: env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true'
with:
node-version: 16.x
node-version: 20.x

- name: If action has build step - Build the action
if: env.HAS_CODE_CHANGES == 'true' && env.HAS_BUILD_STEP == 'true'
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Fail the workflow if there are any outstanding changes
if: env.HAS_CODE_CHANGES == 'true' && (env.NEEDS_BUILD_COMMIT == 'true' || env.NEEDS_README_COMMIT == 'true')
id: summary
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:

- name: Setup - Checkout testing repo in the root directory
if: always()
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
repository: ${{ env.TESTING_REPO }}
Expand All @@ -261,7 +261,7 @@ jobs:

- name: Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
if: always()
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./gvl

Expand Down Expand Up @@ -422,7 +422,7 @@ jobs:

- name: Setup - Checkout testing repo in the root directory
if: always()
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
repository: ${{ env.TESTING_REPO }}
Expand All @@ -431,7 +431,7 @@ jobs:

- name: Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
if: always()
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./gvl

Expand Down Expand Up @@ -705,7 +705,7 @@ jobs:

- name: Setup - Checkout testing repo in the root directory
if: always()
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
repository: ${{ env.TESTING_REPO }}
Expand All @@ -714,7 +714,7 @@ jobs:

- name: Setup - Checkout this action (git-version-lite) into a 'gvl' subdirectory
if: always()
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ./gvl

Expand Down

0 comments on commit 5af8184

Please sign in to comment.