Skip to content
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

Merged
merged 1 commit into from
Dec 6, 2022
Merged

Conversation

seanyoung
Copy link
Contributor

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

@seanyoung seanyoung force-pushed the deprecated branch 3 times, most recently from f86be25 to 51c6cc0 Compare December 5, 2022 17:35
@seanyoung seanyoung marked this pull request as ready for review December 5, 2022 19:17
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why has this changed?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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!

Copy link
Contributor Author

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.

@seanyoung seanyoung changed the title Fix github deprecated warnings Fix github actions warnings Dec 6, 2022
@seanyoung seanyoung merged commit 4efc642 into hyperledger-solang:main Dec 6, 2022
@seanyoung seanyoung deleted the deprecated branch December 6, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants