Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update CI toolchain to stable #4051

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

Merged
merged 1 commit into from
Aug 13, 2022
Merged

Conversation

moreal
Copy link
Contributor

@moreal moreal commented Aug 12, 2022

Currently, the cargo clippy or the CI Check Rust code with rustfmt and clippy job failed.
It warns clippy::derive_partial_eq_without_eq as unknown lints but it exists in 1.63.0 release. You can see it through https://rust-lang.github.io/rust-clippy/master/.

At the #4046, it updated the toolchain's version to 1.62.1 from stable and the stable version was 1.63.0.

But I see the pull request description while writing this pull request's description:

I need time to check if the failure is our bug or rust regression.

I don't know its context so it may be intended and if then, this pull request should be closed.

@youknowone
Copy link
Member

hmm, why is this not fixing the error?

@moreal
Copy link
Contributor Author

moreal commented Aug 13, 2022

hmm, why is this not fixing the error?

Hmm.. I thought it is because the GitHub Actions follows the main branch but it seems not the situtation I thought...
I'll look more. 🙏🏻

@moreal moreal force-pushed the ci-toolchain-1.63.0 branch from 917924c to 5e9ab13 Compare August 13, 2022 09:17
@@ -263,11 +263,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@1.62.1
- uses: dtolnay/rust-toolchain@1.63.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- uses: dtolnay/rust-toolchain@1.63.0
- uses: dtolnay/rust-toolchain@stable

using stable is our common way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I applied the suggestion by amending d60baae commit.

@moreal
Copy link
Contributor Author

moreal commented Aug 13, 2022

When I saw the debug log, the clippy command's version was not 1.63.0 🤔 I think it's a bug of dtolnay/rust-toolchain or rustup 🤔 .
image

I'll push with the commit to use stable version.

@moreal moreal force-pushed the ci-toolchain-1.63.0 branch from 7c0bdc2 to 5e9ab13 Compare August 13, 2022 09:36
@moreal moreal force-pushed the ci-toolchain-1.63.0 branch from 5e9ab13 to d60baae Compare August 13, 2022 09:37
@moreal moreal changed the title Update CI toolchain to 1.63.0 Update CI toolchain to stable Aug 13, 2022
@moreal moreal requested a review from youknowone August 13, 2022 09:51
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

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

Thank you! the difference between 1.63.0 and stable are confusing

@youknowone youknowone merged commit aec155f into RustPython:main Aug 13, 2022
@youknowone youknowone added the z-ca-2022 Tag to track contrubution-academy 2022 label Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
z-ca-2022 Tag to track contrubution-academy 2022
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants