Skip to content

Commit 5e63e7a

Browse files
authored
CI: bump actions/checkout to v4, node to 20.x (#7)
* CI: bump actions/checkout to v4, node to 20.x Signed-off-by: K.B.Dharun Krishna <[email protected]> * chore(ci): update workflows Signed-off-by: K.B.Dharun Krishna <[email protected]> * cleanup: fix eol in check-dist.yml Signed-off-by: K.B.Dharun Krishna <[email protected]> --------- Signed-off-by: K.B.Dharun Krishna <[email protected]>
1 parent f29e256 commit 5e63e7a

6 files changed

+14
-15
lines changed

.github/workflows/basic-validation.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
description: "Optional input to set the version of Node.js used to build the project. The input syntax corresponds to the setup-node's one"
2525
required: false
2626
type: string
27-
default: "16.x"
27+
default: "20.x"
2828
node-caching:
2929
description: "Optional input to set up caching for the setup-node action. The input syntax corresponds to the setup-node's one. Set to an empty string if caching isn't needed"
3030
required: false
@@ -40,10 +40,10 @@ jobs:
4040
operating-systems: ${{fromJson(inputs.operating-systems)}}
4141
steps:
4242
- name: Checkout
43-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4444

4545
- name: Setup Node.js ${{inputs.node-version}}
46-
uses: actions/setup-node@v3
46+
uses: actions/setup-node@v4
4747
with:
4848
node-version: ${{inputs.node-version}}
4949
cache: ${{inputs.node-caching}}

.github/workflows/check-dist.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
description: "Optional input to set the version of Node.js used to build a project. The input syntax corresponds to the setup-node's one"
1717
required: false
1818
type: string
19-
default: "16.x"
19+
default: "20.x"
2020
node-caching:
2121
description: "Optional input to set up caching for the setup-node action. The input syntax corresponds to the setup-node's one. Set to an empty string if caching isn't needed"
2222
required: false
@@ -29,10 +29,10 @@ jobs:
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333

3434
- name: Setup Node.js ${{inputs.node-version}}
35-
uses: actions/setup-node@v3
35+
uses: actions/setup-node@v4
3636
with:
3737
node-version: ${{inputs.node-version}}
3838
cache: ${{inputs.node-caching}}
@@ -55,7 +55,7 @@ jobs:
5555
# If inners of the dist directory were different than expected, upload the expected version as an artifact
5656
- name: Upload artifact
5757
if: ${{failure() && steps.diff.conclusion == 'failure'}}
58-
uses: actions/upload-artifact@v3
58+
uses: actions/upload-artifact@v4
5959
with:
6060
name: dist
61-
path: ${{inputs.dist-path}}
61+
path: ${{inputs.dist-path}}

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL

.github/workflows/licensed.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414

1515
- name: Checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Install dependencies
1919
run: npm ci --ignore-scripts

.github/workflows/update-config-files.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
runs-on: "ubuntu-latest"
3333
steps:
3434
- name: Checkout ${{github.repository}} repository
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
with:
3737
ref: "${{inputs.base-pr-branch}}"
3838
path: "target"
3939

4040
- name: Checkout actions/reusable-workflows repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242
with:
4343
repository: "actions/reusable-workflows"
4444
ref: "main"
@@ -84,9 +84,9 @@ jobs:
8484
8585
- name: Install Node.js
8686
if: ${{ steps.successful-update.outputs.STATUS == 'true' }}
87-
uses: actions/setup-node@v3
87+
uses: actions/setup-node@v4
8888
with:
89-
node-version: 16
89+
node-version: 20
9090

9191
- name: Install dependencies
9292
if: ${{ steps.successful-update.outputs.STATUS == 'true' }}

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ See [CODEOWNERS](./CODEOWNERS).
9090
## Support
9191

9292
See [SUPPORT.md](./SUPPORT.md).
93-

0 commit comments

Comments
 (0)