tribler icon indicating copy to clipboard operation
tribler copied to clipboard

GitHub Actions: Node.js 16 actions are deprecated

Open drew2a opened this issue 1 year ago • 3 comments

The following errors have started to appear:

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, syphar/restore-virtualenv@v1, cardinalby/export-env-action@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20

Actions that need to be updated:

  • [x] actions/checkout
  • [x] actions/setup-python
  • [x] syphar/restore-virtualenv
  • [ ] cardinalby/export-env-action https://github.com/cardinalby/export-env-action/issues/9
  • [x] actions/upload-artifact
  • [x] dorny/paths-filter
  • [x] actions/cache
  • [x] andstor/file-existence-action
  • [x] codecov/codecov-action

See: https://github.com/Tribler/tribler/actions/runs/7782995836

drew2a avatar Feb 05 '24 10:02 drew2a

syphar/restore-virtualenv can be replaced by https://github.com/actions/setup-python#caching-packages-dependencies

drew2a avatar Feb 09 '24 10:02 drew2a

cardinalby/export-env-action author here. Just updated the action to node20

cardinalby avatar Feb 13 '24 19:02 cardinalby

@cardinalby, nice! Thank you very much for the update and for keeping us informed.

drew2a avatar Feb 14 '24 07:02 drew2a

All warnings from this issue have been fixed.

drew2a avatar Feb 19 '24 10:02 drew2a