Skip to content

fix: Don't write to tmpdir in CI#207

Merged
epage merged 10 commits intorust-cli:masterfrom
epage:ci
Mar 31, 2026
Merged

fix: Don't write to tmpdir in CI#207
epage merged 10 commits intorust-cli:masterfrom
epage:ci

Conversation

@epage
Copy link
Copy Markdown
Collaborator

@epage epage commented Mar 31, 2026

Skip writing to temporary file in CI
which is then typically inaccessible from an already failed
CI job. In those cases, it's better to dump directly to stderr,
since that'll typically be captured by console logging.

Inspired by zizmor

@epage epage force-pushed the ci branch 4 times, most recently from 9444679 to f23f43e Compare March 31, 2026 15:11
@epage epage merged commit 68b1cfa into rust-cli:master Mar 31, 2026
15 checks passed
@epage epage deleted the ci branch March 31, 2026 15:21
epage added a commit to epage/zizmor that referenced this pull request Mar 31, 2026
I mirrored the idea of what zizmor does in rust-cli/human-panic#207,
making it so that this check wouldn't be needed anymore.

Fixes zizmorcore#1838
woodruffw added a commit to zizmorcore/zizmor that referenced this pull request Apr 1, 2026
* refactor: Leverage human-panic for CI-specialized logic

I mirrored the idea of what zizmor does in rust-cli/human-panic#207,
making it so that this check wouldn't be needed anymore.

Fixes #1838

* Re-lock

Signed-off-by: William Woodruff <william@yossarian.net>

---------

Signed-off-by: William Woodruff <william@yossarian.net>
Co-authored-by: William Woodruff <william@yossarian.net>
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