freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.36k stars 153 forks source link

Update GitHub actions #771

Closed naglis closed 2 months ago

naglis commented 2 months ago

The checkout, setup-python, upload-artifact and download-artifact actions produce warnings about deprecated Node.js 16:

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

All the actions add support for Node.js 20 in a new version:

upload-artifact and download-artifact have breaking changes [1, 2] in the new versions, but AFAICT they do not affect dangerzone workflows :crossed_fingers:

legoktm commented 2 months ago

I would suggest enabling dependabot to automatically propose updates to GitHub Actions, see https://github.com/freedomofpress/securedrop-docs/commit/94e7d7175c9049f4805dcb8500913baad030e2f3 as an example.