Skip to content

Commit

Permalink
Update github actions to newer versions
Browse files Browse the repository at this point in the history
As per [0], we need to move to something newer than checkout@v2 in order
to avoid unsafe node versions.  This moves from checkout@v2 to
checkout@v4.

[0] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-versioned-actions

Signed-off-by: Peter Jones <[email protected]>
  • Loading branch information
vathpela committed Jan 17, 2024
1 parent 701f7be commit c70db0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger)
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# otherwise we are testing target branch instead of the PR branch (see pull_request_target trigger)
ref: ${{ github.event.pull_request.head.sha }}
Expand Down

0 comments on commit c70db0a

Please sign in to comment.