Skip to content

Commit 8459c54

Browse files
konardclaude
andcommitted
fix(ci): allow dirty working tree in cargo package --list check
The Build Package job runs `cargo build --release` which updates Cargo.lock, causing `cargo package --list` to fail with "uncommitted changes". Add --allow-dirty so the packaging check works regardless of build artifacts modifying the lockfile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f317c2b commit 8459c54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ jobs:
247247
run: cargo build --release --verbose
248248

249249
- name: Check package
250-
run: cargo package --list
250+
run: cargo package --list --allow-dirty
251251

252252
# === AUTO RELEASE ===
253253
# Automatic release on push to main using changelog fragments

0 commit comments

Comments
 (0)