Skip to content

ci: build, lint and test with --locked - #248

Merged
dc0sk merged 1 commit into
mainfrom
ci/locked
Oct 16, 2026
Merged

dc0sk merged 1 commit into
mainfrom
ci/locked

Conversation

@dc0sk

@dc0sk dc0sk commented Oct 16, 2026

Copy link
Copy Markdown
Owner

#243 added iced_renderer to app/Cargo.toml without its Cargo.lock entry. CI passed anyway, because cargo quietly regenerates the lock file. This PR adds --locked to every cargo build, lint and test step in ci.yml, and to the release build in release.yml. A dependency missing from the lock file then fails CI, and a tagged release is always built from the locked dependency set.

Checked locally:

This PR changes only the two workflow files.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk

…Cargo.lock fails CI

#243 added iced_renderer to app/Cargo.toml without its Cargo.lock entry, and
CI passed because cargo quietly regenerates the lock. With --locked the same
change stops at "cannot update the lock file ... because --locked was passed"
(checked by adding an unrecorded dev-dependency locally: exit 101). Release
builds get it too, so a tagged build is always the locked dependency set.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma4bQKqGNFTYyVSEKPcXRk
@dc0sk
dc0sk merged commit ad54bd3 into main Oct 16, 2026
5 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.

1 participant