Skip to content

Commit

Permalink
ci(github): stop using NodeJS v16 based actions due to deprecation
Browse files Browse the repository at this point in the history
No changes other than the mass find & replacing of the GitHub actions
that we use for setting up NodeJS, checking code out and caching.

Address the warnings that started popping up in the CI that look like
this, asking for a mass-upgrade of CI action versions:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20:
> actions/[email protected],
> actions/[email protected],
> actions/[email protected]
> For more information see:
> https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Fixes #3079

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Mar 13, 2024
1 parent e4a8a66 commit c203bc9
Show file tree
Hide file tree
Showing 49 changed files with 340 additions and 340 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/.dast-nuclei-cmd-api-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
&& sudo rm -f /etc/apt/sources.list.d/sovrin.list*
- name: Set up NodeJS ${{ env.NODEJS_VERSION }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ env.NODEJS_VERSION }}

Expand All @@ -37,7 +37,7 @@ jobs:
- name: Verify jq
run: jq --version

- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1

- uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
actionlint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.1
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.25/scripts/download-actionlint.bash)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/all-nodejs-packages-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
build-and-publish-packages:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1
- run: git fetch --unshallow --prune
- uses: actions/setup-node@v3.6.0
- uses: actions/setup-node@v4.0.2
with:
always-auth: true
node-version: ${{ env.NODEJS_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/besu-all-in-one-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1

- name: Build image
run: docker build $DOCKER_BUILD_DIR --file $DOCKERFILE_PATH --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cacti-dev-container-vscode-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

steps:
- name: Use Node.js ${{ env.NODEJS_VERSION }}
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ env.NODEJS_VERSION }}

- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.1

- name: npm_install_@devcontainers/[email protected]
run: npm install -g @devcontainers/[email protected]
Expand Down
Loading

0 comments on commit c203bc9

Please sign in to comment.