Skip to content

fix(ci): cargo-deny toolchain setup + drop --all-features (#2300) - #4

Merged
forkwright merged 1 commit into
mainfrom
fix/cargo-deny-toolchain-and-args
Jun 30, 2026
Merged

forkwright merged 1 commit into
mainfrom
fix/cargo-deny-toolchain-and-args

Conversation

@forkwright

Copy link
Copy Markdown
Owner

cargo-deny job lacked setup-rust-toolchain, so nightly-pinned repos (theatron, which pins nightly via rust-toolchain.toml) failed cargo metadata with "override toolchain 'nightly-...' is not installed". Additionally, arguments: --all-features is invalid for cargo-deny and was rejected at runtime.

Changes to cargo-deny job only:

  • Add actions-rust-lang/setup-rust-toolchain step (pinned, same hash as cargo-audit job) before cargo-deny-action, so rust-toolchain.toml is honoured.
  • Remove arguments: --all-features from cargo-deny-action with: block.

Refs forkwright/kanon#2300.

@forkwright
forkwright merged commit 9c6b577 into main Jun 30, 2026
1 check passed
@forkwright
forkwright deleted the fix/cargo-deny-toolchain-and-args branch June 30, 2026 06:22
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