Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
# Pinned to match rust-toolchain.toml; bump both together.
uses: dtolnay/rust-toolchain@1.96.0
with:
components: clippy, rustfmt

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
- uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
# Pinned to match rust-toolchain.toml; bump both together.
uses: dtolnay/rust-toolchain@1.96.0
with:
targets: ${{ matrix.target }}

Expand Down
7 changes: 7 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Pin the toolchain so local and CI never drift (a floating `stable` once
# silently bumped clippy/rustfmt and broke CI on untouched code). Bump this
# version deliberately, and keep the CI workflows' `dtolnay/rust-toolchain@<ver>`
# in sync with it.
[toolchain]
channel = "1.96.0"
components = ["rustfmt", "clippy"]
Loading