Skip to content

Commit 415c42d

Browse files
authored
Update workflows to use v4 actions (actions#1652)
* Update releases.yml to use v4 actions * Bump all workflows
1 parent e6c1cd0 commit 415c42d

8 files changed

+14
-14
lines changed

.github/workflows/audit.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Set Node.js 20.x
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: 20.x
2727

.github/workflows/cache-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
- name: Set Node.js 20.x
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: 20.x
3131

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL

.github/workflows/releases.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313

1414
steps:
1515
- name: setup repo
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: verify package exists
1919
run: ls packages/${{ github.event.inputs.package }}
2020

2121
- name: Set Node.js 20.x
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: 20.x
2525

@@ -40,7 +40,7 @@ jobs:
4040
working-directory: packages/${{ github.event.inputs.package }}
4141

4242
- name: upload artifact
43-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4444
with:
4545
name: ${{ github.event.inputs.package }}
4646
path: packages/${{ github.event.inputs.package }}/*.tgz
@@ -52,7 +52,7 @@ jobs:
5252
steps:
5353

5454
- name: download artifact
55-
uses: actions/download-artifact@v3
55+
uses: actions/download-artifact@v4
5656
with:
5757
name: ${{ github.event.inputs.package }}
5858

.github/workflows/unit-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Set Node.js 20.x
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: 20.x
3232

.github/workflows/update-github.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: ${{ github.repository_owner == 'actions' }}
1010
steps:
1111
- name: Checkout repository
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Update Octokit
1414
working-directory: packages/github
1515
run: |

docs/action-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
os: [ubuntu-16.04, windows-2019]
3333
runs-on: ${{matrix.os}}
3434
actions:
35-
- uses: actions/setup-node@v3
35+
- uses: actions/setup-node@v4
3636
with:
3737
version: ${{matrix.node}}
3838
- run: |

docs/container-action.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ e.g. To use https://github.com/actions/setup-node, users will author:
1818

1919
```yaml
2020
steps:
21-
using: actions/setup-node@v3
21+
using: actions/setup-node@v4
2222
```
2323
2424
# Define Metadata

0 commit comments

Comments
 (0)