Skip to content

ci: remove dead --no-deps ternary in cargo doc step#5974

Merged
max-sixty merged 1 commit into
mainfrom
ci/remove-dead-cargo-doc-ternary
Jun 2, 2026
Merged

ci: remove dead --no-deps ternary in cargo doc step#5974
max-sixty merged 1 commit into
mainfrom
ci/remove-dead-cargo-doc-ternary

Conversation

@prql-bot
Copy link
Copy Markdown
Collaborator

@prql-bot prql-bot commented Jun 2, 2026

The 🗒️ Doc step in test-rust.yaml is gated on inputs.nightly == 'true', so the inline ternary ${{ inputs.nightly != 'true' && '--no-deps' || '' }} always evaluates to the empty string — --no-deps is never appended.

This is leftover from #4107, which tightened the step's if: to inputs.nightly == 'true' but didn't update the args expression. The accompanying comment ("Only run with deps on nightly...") also no longer reflects behavior, since the step itself is now nightly-only.

This is a cosmetic cleanup — behavior is unchanged.

Found by nightly survey of .github/workflows/test-rust.yaml.

The step's `if:` already gates on `inputs.nightly == 'true'`, so the
`${{ inputs.nightly != 'true' && '--no-deps' || '' }}` ternary always
evaluates to the empty string. Drop the dead expression and the now-stale
comment. Behavior is unchanged.
@max-sixty max-sixty merged commit 0d99f72 into main Jun 2, 2026
41 checks passed
@max-sixty max-sixty deleted the ci/remove-dead-cargo-doc-ternary branch June 2, 2026 14:13
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.

2 participants