Skip to content

build: commit Cargo.lock and stop ignoring it#2

Merged
YoungDan merged 1 commit into
mainfrom
ci/commit-cargo-lock
May 29, 2026
Merged

build: commit Cargo.lock and stop ignoring it#2
YoungDan merged 1 commit into
mainfrom
ci/commit-cargo-lock

Conversation

@YoungDan
Copy link
Copy Markdown
Member

Summary

  • Track Cargo.lock and remove it from .gitignore.
  • Required for cargo publish -p deslicer-cli --locked (crates-publish.yml) and reproducible CI builds — without a committed lockfile the publish job fails on a fresh checkout.

Test plan

  • CI green: Test (ubuntu-latest), Test (macos-latest), Test (windows-latest)
  • cargo build --locked succeeds (verified locally)

cargo publish --locked (crates-publish.yml) and reproducible CI builds require
a committed lockfile. Track Cargo.lock and drop it from .gitignore.
@YoungDan YoungDan merged commit a53b2dd into main May 29, 2026
4 checks passed
@YoungDan YoungDan deleted the ci/commit-cargo-lock branch May 29, 2026 10:50
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.

1 participant