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

Use of stable toolchain for lints in CI #35

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Conversation

oowekyala
Copy link
Collaborator

The use of the nightly toolchain causes failures in CI: https://github.com/lf-lang/reactor-rs/actions/runs/3345256641/jobs/5540551199

This is because clippy is reporting something that can only be fixed when using Rust 1.65 nightly, whereas we currently use 1.64 stable, so we can't fix these lints.

Somewhat related to #32

@jhaye
Copy link
Collaborator

jhaye commented Nov 1, 2022

I recall this was a problem in the past. Just remember to also change the Rust CI at the main Lingua Franca repo when the runtime version is bumped.

@oowekyala
Copy link
Collaborator Author

I think the Rust version in the LF repo is also fetched with the same github action, and it uses stable Rust there: https://github.com/lf-lang/lingua-franca/blob/master/.github/workflows/rs-tests.yml#L18

So I don't think we need to update anything explicitly, as long as the runtime stays on Rust stable. Right?

@jhaye
Copy link
Collaborator

jhaye commented Nov 1, 2022

Yes, I think these were the problems I was thinking about. But everything seems to be working now. Forget what I said.

@oowekyala oowekyala merged commit 7c66cce into main Nov 2, 2022
@oowekyala oowekyala deleted the fix-ci-nightly branch November 2, 2022 09:40
@lhstrh lhstrh added the enhancement New feature or request label Feb 23, 2023
@lhstrh lhstrh changed the title Use stable toolchain for lints in CI Use of stable toolchain for lints in CI Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants