-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: use actions/checkout@v4 and actions/setup-python@v5 #1717
Conversation
actions/checkout@v2 received that last "backport fix" in Dec 2022. Meanwhile GH is even forcing a newer node version (16 instead of 12) than what v2 was designed with.
@twicki / @FlorianDeconinck continuing the quest to reduce warnings ... @egparedes / @havogt please review or re-distribute to whoever is knowledgeable / in charge of CI for the next version of gt4py As far as I can tell, we should be good again for now. We might want to look into automatic reporting of outdated GHA versions in the future. |
We should also be aware the |
cscs-ci run |
cscs-ci run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR updates the GitHub Actions (GHA) workflows to use
actions/checkout@v4
instead ofv3
(orv2
in the cartesian case) andactions/setup-python@v5
. Development foractions/checkout@v3
andactions/setup-python@v4
stopped ~1 year ago and GH is currently enforcing newer node versions than the one that these actions were designed with, leading to the following warningswarnings in next workflows
warnings in cartesian workflows
deploy_release
action was followingactions/checkout@master
. Was this on purpose? Happy to revert if so. Unless there's a good reason, I suggest to keep all actions pinned at ideally the same major version.pre-commit/action
was updated to keep its dependencies up to date and avoid transitive warnings similar to the ones above.No changes made to currently disabled workflows, i.e. the ones under
.github/workflows/_disabled/
.Parent: GEOS-ESM/SMT-Nebulae#89
Requirements
CI is running as before - just with fewer warnings.
N/A