digdag
digdag copied to clipboard
Update Github Actions packages for Node.js 16 deprecation
Overview
I have updated packages in Github Actions. Because There is following message in Actions result page.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-java@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, github/codeql-action/init@v2, github/codeql-action/autobuild@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
The setup-java requires v2 or higher to specify java distribution [link]. So I choose "zulu". because it is default distribution of setup-java@v1.
Result
I confirmed that the results of Github Actions are the same as before.
CI https://github.com/treasure-data/digdag/actions/runs/7898688236
Code scanning https://github.com/treasure-data/digdag/actions/runs/7898688235/job/21556590577 (This has been failing in autobuild from before.)
Links
https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/ https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/