Skip to content

Commit 57532f8

Browse files
jrfnlramsey
authored andcommitted
Update cache action runner (#252)
The `actions/cache` package has released version 4.0 which updates the action runner to use Node 20. Applying this fix gets rid of the following warning which is currently showing in the "Annotations" of workflows using the `ramsey/composer-install` action: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` Note: most action runners have published these types of update in a new major, so that seems to be the best practice. Not sure if this update warrants a new major for `ramsey/composer-install` ? Refs: * https://github.com/actions/cache/releases/tag/v4.0.0 * https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ Co-authored-by: jrfnl <[email protected]>
1 parent 1919f6c commit 57532f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ runs:
8080
8181
- name: "Cache Composer dependencies"
8282
if: steps.should-cache.outputs.do-cache == 1
83-
uses: "actions/cache@v3"
83+
uses: "actions/cache@v4"
8484
with:
8585
path: "${{ steps.composer.outputs.cache-dir }}"
8686
key: "${{ steps.cache-key.outputs.key }}"

0 commit comments

Comments
 (0)