Skip to content

Commit 4593955

Browse files
committed
ci: use actions/checkout@v4
Now that this Action uses node.js 20, it's time to update the actions we use for our CI jobs, to also use node.js 20. actions/github-script does not support node.js 20 yet, though. [1] [1] actions/github-script#421 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3eb4ccb commit 4593955

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/npm-run-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: github.event_name == 'workflow_dispatch' || github.event.repository.owner.login == 'git-for-windows'
1818
environment: git-for-windows-ci-push
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
with:
2222
repository: ${{ github.event.repository.full_name }}
2323
ref: ${{ inputs.branch }}${{ github.event.ref }}

.github/workflows/release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Publish GitHub Release from tag
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
with:
1818
token: ${{ secrets.PUSH_RELEASE_TRAINS_PAT }}
1919
fetch-depth: 0

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build: # make sure build/ci work properly
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
- run: npm ci
1717
- run: npm run build
1818
- run: npm run lint
@@ -36,7 +36,7 @@ jobs:
3636
test: # make sure the action works on a clean machine without building
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4040
- name: Run this Action in-place
4141
uses: ./
4242
with:
@@ -49,8 +49,8 @@ jobs:
4949
test-strip-prefix: # make sure the action works on a clean machine without building
5050
runs-on: windows-latest
5151
steps:
52-
- uses: actions/checkout@v2
53-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v4
53+
- uses: actions/checkout@v4
5454
with:
5555
repository: microsoft/vcpkg
5656
path: compat/vcbuild/vcpkg

0 commit comments

Comments
 (0)