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
10 changes: 9 additions & 1 deletion .github/workflows/clippy-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,17 @@ jobs:

- name: Install Rust (1.89) + Clippy
uses: dtolnay/rust-toolchain@1.89
id: toolchain
with:
components: clippy


Comment thread
GitGab19 marked this conversation as resolved.
# NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
# `dtolnay/rust-toolchain` installs the requested toolchain but does not
# automatically override it.
- name: Override toolchain
run: |
rustup override set ${{ steps.toolchain.outputs.name }}

- name: Run Clippy
run: |
cargo clippy --all-features -- -D warnings
8 changes: 8 additions & 0 deletions .github/workflows/fuzz_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:

- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
id: toolchain

# NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
# `dtolnay/rust-toolchain` installs the requested toolchain but does not
# automatically override it.
- name: Override toolchain
run: |
rustup override set ${{ steps.toolchain.outputs.name }}

- name: Install cargo-fuzz
run: cargo install cargo-fuzz
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:

- name: Install Rust
uses: dtolnay/rust-toolchain@1.85
id: toolchain

# NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
# `dtolnay/rust-toolchain` installs the requested toolchain but does not
# automatically override it.
- name: Override toolchain
run: |
rustup override set ${{ steps.toolchain.outputs.name }}

- name: Install capnproto (Ubuntu)
if: steps.detect.outputs.should_run_integration_test == 'true' && matrix.os == 'ubuntu-latest'
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/miri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@ jobs:

- name: Install Rust nightly + Miri
uses: dtolnay/rust-toolchain@nightly
id: toolchain
with:
components: miri

# NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
# `dtolnay/rust-toolchain` installs the requested toolchain but does not
# automatically override it.
- name: Override toolchain
run: |
rustup override set ${{ steps.toolchain.outputs.name }}

- name: Miri setup
run: cargo miri setup
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/semver-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ jobs:

- name: Install Rust (1.85)
uses: dtolnay/rust-toolchain@1.85
id: toolchain

# NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
# `dtolnay/rust-toolchain` installs the requested toolchain but does not
# automatically override it.
- name: Override toolchain
run: |
rustup override set ${{ steps.toolchain.outputs.name }}

- name: Cache Cargo registry
uses: actions/cache@v4
Expand Down
3 changes: 3 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.75.0"
components = [ "rustfmt", "clippy" ]
Loading