Skip to content

Commit

Permalink
CI: bump actions/checkout to v4, node to 20.x (#7)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
kbdharun authored Feb 1, 2024
1 parent f29e256 commit 5e63e7a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/basic-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
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"
required: false
type: string
default: "16.x"
default: "20.x"
node-caching:
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"
required: false
Expand All @@ -40,10 +40,10 @@ jobs:
operating-systems: ${{fromJson(inputs.operating-systems)}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js ${{inputs.node-version}}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{inputs.node-version}}
cache: ${{inputs.node-caching}}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
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"
required: false
type: string
default: "16.x"
default: "20.x"
node-caching:
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"
required: false
Expand All @@ -29,10 +29,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js ${{inputs.node-version}}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{inputs.node-version}}
cache: ${{inputs.node-caching}}
Expand All @@ -55,7 +55,7 @@ jobs:
# If inners of the dist directory were different than expected, upload the expected version as an artifact
- name: Upload artifact
if: ${{failure() && steps.diff.conclusion == 'failure'}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: ${{inputs.dist-path}}
path: ${{inputs.dist-path}}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci --ignore-scripts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-config-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Checkout ${{github.repository}} repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: "${{inputs.base-pr-branch}}"
path: "target"

- name: Checkout actions/reusable-workflows repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "actions/reusable-workflows"
ref: "main"
Expand Down Expand Up @@ -84,9 +84,9 @@ jobs:
- name: Install Node.js
if: ${{ steps.successful-update.outputs.STATUS == 'true' }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies
if: ${{ steps.successful-update.outputs.STATUS == 'true' }}
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ See [CODEOWNERS](./CODEOWNERS).
## Support

See [SUPPORT.md](./SUPPORT.md).

0 comments on commit 5e63e7a

Please sign in to comment.