-
Notifications
You must be signed in to change notification settings - Fork 224
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
Fix github actions warnings #1092
Conversation
f86be25
to
51c6cc0
Compare
Every CI run we get tons of warnings like: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. It looks like actions-rs/toolchain is unmaintained: actions-rs/toolchain#221 Many projects are switching over to dtolnay/rust-toolchain, let's do the same. Signed-off-by: Sean Young <sean@mess.org>
@@ -105,7 +105,7 @@ jobs: | |||
mac-intel: | |||
name: Mac Intel | |||
needs: create | |||
runs-on: macos-latest | |||
runs-on: macos-11 |
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.
Why has this changed?
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.
Sorry for being pedantic. You did not say anything about this in your PR summary.
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.
The CI output gives a whole bunch of warnings, see https://github.com/hyperledger/solang/actions/runs/3628240205
One of those warnings is:
macOS-latest pipelines will use macOS-12 soon. For more details, see https://github.com/actions/runner-images/issues/6384
So this fixes the warning by ensuring we continue to use macOS-11 for building. The warning goes away and we remain compatible with macOS 11.
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.
I'm already using MacOS 13, so we should change the pipeline to 12 soon!
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.
We should ensure that we are compatible with the oldest possible version we can support (without much effort). Why move to 12? Apple have good binary compatibility.
Every CI run we get tons of warnings like:
The
set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files.It looks like actions-rs/toolchain is unmaintained:
actions-rs/toolchain#221
Many projects are switching over to dtolnay/rust-toolchain, let's do the same.
Signed-off-by: Sean Young sean@mess.org