splitgraph / sgr

sgr (command line client for Splitgraph) and the splitgraph Python library
https://www.splitgraph.com
Other
325 stars 17 forks source link

Update actions/setup-python in GitHub Actions workflows to v4 #802

Closed striezel closed 1 year ago

striezel commented 1 year ago

Updates the actions/setup-python action used in the GitHub Actions workflow to its newest major version.

Still using v1 or v2 of actions/setup-python will generate some warning like in this run: https://github.com/splitgraph/sgr/actions/runs/4600481840

Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v2, actions/cache@v1, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

The PR will get rid of those warnings for actions/setup-python, because v4 uses Node.js 16.