-
Notifications
You must be signed in to change notification settings - Fork 27
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
Refresh workflows #216
Refresh workflows #216
Conversation
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.
You forgot to bump download-artifact in build.yml version at lines 424, 504, 584, 684, 717 and in release.yml (other lines:)
Be carefule that when using v3, you have also to add path
argument when not yet present to make the next steps work:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: wheels
path: wheels
You could also change JamesIves/github-pages-deploy-action version in build.yml (for v4 as in release.yml) so that:
- it is consistent with release.yml
- more importantly it use the last v4.x.y version, which is now using node 16
Personnally i would rather squash all commit "Advancing..." and add explanation in commit message that it is to get node 16 using actions because of node 12 end of support.
I would like also having a small explanation about why you drop pre-commit action and change the action creating the release. (I know why because I did the same for discrete-optimization but someone else might want to know the reason requiring these changes).
6fbe65b
to
303a786
Compare
…n using node12 for ncipollo/release-action using node16
303a786
to
ae7cfa7
Compare
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
There are still many warnings |
This is another matter: these warnings (at least those I have seem) are not about node 12, but rather about " My guess is that github will soon update these actions and that we will have to bump them again at that time. |
No, these warnings come from our workflows, grep "set-output". |
1086824
to
1a2ef74
Compare
The remaining warnings come from |
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.
IMHO you should check release.yml in your fork
.github/workflows/build.yml
Outdated
with open(environ["GITHUB_OUTPUT"], "a") as f: | ||
f.write(f"build={dumps(build_dict)}\n") | ||
f.write(f"test={dumps(dict({os : [k for k in test if k.startswith(os)] for os in oses}))}\n") | ||
f.write(f"build_doc={dumps(build_doc)}\n") |
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.
You are modifying the contents of these variables without giving any reason; why did you add calls to dumps()?
4fcfc2a
to
4c5a4df
Compare
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.
Looks good, but you must explain in the last commit message why you want to merge these changes. You claim that set-output is unsafe, this is not clear to me whether this is true.
4c5a4df
to
2c00ed2
Compare
|
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.
trust in previous reviews.
Refreshing all actions used in both build and release workflows in prevision of node12 deprecation