Skip to content

Comments

Fix cargo publish failing due to dirty working directory#35

Merged
nichmor merged 1 commit intomainfrom
fix/release-workflow-dirty-files
Jan 14, 2026
Merged

Fix cargo publish failing due to dirty working directory#35
nichmor merged 1 commit intomainfrom
fix/release-workflow-dirty-files

Conversation

@nichmor
Copy link
Owner

@nichmor nichmor commented Jan 14, 2026

Summary

  • Add cleanup step in release workflow to remove .pixi and .pytest_cache before cargo publish
  • Add .pytest_cache to .gitignore

Fixes the CI error where cargo publish fails with "38 files in the working directory contain changes that were not yet committed into git" because pixi run test-py creates files in those directories.

Test plan

  • Trigger a release to verify cargo publish succeeds

🤖 Generated with Claude Code

Clean up .pixi and .pytest_cache directories before running cargo publish
in the release workflow. Also add .pytest_cache to .gitignore.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@nichmor nichmor merged commit df33105 into main Jan 14, 2026
7 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