Skip to content

ci: Replace dtolnay/rust-toolchain by simple rustup command - #339

Closed
Yannik Tausch (ytausch) wants to merge 0 commit into
mainfrom
yt/replace-rust-toolchain-action
Closed

Yannik Tausch (ytausch) wants to merge 0 commit into
mainfrom
yt/replace-rust-toolchain-action

Conversation

@ytausch

@ytausch Yannik Tausch (ytausch) commented Aug 10, 2026 •

Copy link
Copy Markdown
Member

Motivation

Because the https://github.com/dtolnay/rust-toolchain does not follow some best practices, I recommend removing it from the entire QuantCo organization:

  1. It does not have proper release versioning: Provide proper releases via tags dtolnay/rust-toolchain#180
  2. The stable branch (!) is maintained as a single commit on top of the main branch. Because pinned commits become stale after a new commit on upstream main, dependabot will never update this action.
  3. It can be easily replaced by a simple rustup command, and rustup comes pre-installed on hosted GitHub runners.
  4. For that reason, zizmor also flags it in the superfluos-actions audit rule.

This PR is intended as a blueprint to have a discussion about it. Note that this repo is public.

Changes

Replaced dtolnay/rust-toolchain by a simple rustup command.

Moved to #340


If updating documentation:

@pavelzw

Copy link
Copy Markdown
Member

could you add zizmor checks here while you're at it?

@ytausch

Copy link
Copy Markdown
Member Author

I can do it in a separate PR; the chore.yml workflow needs fixing

Comment thread .github/workflows/build.yml Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants