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 stable version to install Kani #53

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

zhassan-aws
Copy link
Contributor

Description of changes:

The action currently uses cargo install ... to install Kani. If the command is issued from a path that has a rust-toolchain file, this results in cargo using the version specified in the toolchain file to install Kani. However, we should always use stable, as the toolchain version could be too old, which would cause the installation to fail, e.g.

https://github.com/aws/s2n-quic/actions/runs/7467601009/job/20322602354?pr=2085#step:3:292

Resolved issues:

Related RFC:

Optional #ISSUE-NUMBER.

Call-outs:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Copy link
Contributor

@celinval celinval left a comment

Choose a reason for hiding this comment

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

Can you please test what happens if stable is not installed?

@zhassan-aws
Copy link
Contributor Author

Can you clarify what you mean?

The action installs the stable toolchain:

uses: dtolnay/rust-toolchain@stable

@zhassan-aws zhassan-aws merged commit 3c6810a into model-checking:v1 Jan 10, 2024
2 checks passed
@zhassan-aws zhassan-aws deleted the use-stable-version branch January 10, 2024 01:06
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