Skip to content

Commit

Permalink
Feature/GitHub action node 16 deprecation (#109)
Browse files Browse the repository at this point in the history
* Update masesgroup/retrieve-changed-files to v3 which used node 20

- Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, masesgroup/retrieve-changed-files@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

* Update actions/setup-node to v4, update to node 20.

* Update github/codeql-action/upload-sarif to v3.

The following versions of the CodeQL Action are currently supported:

    v3 (latest)
    v2 (deprecated, support will end on December 5th, 2024)

* Update action/cache to v4.
  • Loading branch information
thefrosty authored Jan 29, 2024
1 parent 8768207 commit 3506735
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
key: ${{ inputs.extensions-cache-key }}

- name: Cache extensions
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}
Expand All @@ -67,4 +67,4 @@ runs:

- name: Get Changed Files
id: files
uses: masesgroup/retrieve-changed-files@v2
uses: masesgroup/retrieve-changed-files@v3
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
composer update --no-dev --no-interaction --optimize-autoloader
- name: Set Node version to 16
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Run npm install
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ jobs:

- name: Get Changed Files
id: files
uses: masesgroup/retrieve-changed-files@v2
uses: masesgroup/retrieve-changed-files@v3

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Run ESLint
id: eslint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
args: --sarif-file-output=snyk.sarif

- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif

0 comments on commit 3506735

Please sign in to comment.