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

Commit renamed Cargo.lock file #856

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

Lorak-mmk
Copy link
Collaborator

It will be used by min_rust workflow to build and check with our MSRV to prevent errors from packages updating their MSRV.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

@Lorak-mmk Lorak-mmk requested a review from piodul October 26, 2023 13:29
@mykaul
Copy link
Contributor

mykaul commented Oct 26, 2023

Do we need something similar for Scylla itself?

@piodul
Copy link
Collaborator

piodul commented Oct 26, 2023

Do we need something similar for Scylla itself?

No, Scylla doesn't have this concern because we use a frozen toolchain and already commits Cargo.lock (i.e. we pin particular versions of the dependencies). We need this for the rust driver because we support a range of versions of the rust toolchain, and we don't pin exact dependency versions.

@@ -60,6 +60,8 @@ jobs:
rustup override set ${{ env.rust_min }}
- name: Print Rust version
run: rustc --version
- name: Use MSRV Cargo.lock
run: mv Cargo.lock.msrv Cargo.lock
Copy link
Collaborator

Choose a reason for hiding this comment

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

One more request: could you add the --frozen flag to the invocations of cargo check in the min_rust job? This should assert that cargo doesn't modify the lockfile due to some reason not accounted by us.

@Lorak-mmk Lorak-mmk force-pushed the fix_toml_datetime branch 2 times, most recently from 226dc9e to 194ed99 Compare October 26, 2023 14:57
It will be used by min_rust workflow to build and check
with our MSRV to prevent errors from packages updating their MSRV.
@piodul piodul merged commit 4c60b01 into scylladb:main Oct 26, 2023
8 checks passed
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