Skip to content

Commit

Permalink
Use rust-toolchain file in CI instead of hard coded version
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Nov 23, 2024
1 parent f20d6d3 commit 36c07ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml', '.github/workflows/*.yml') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml', '.github/workflows/*.yml', 'rust-toolchain') }}

- name: Check for forbidden words
if: runner.os != 'Windows'
Expand All @@ -43,7 +43,6 @@ jobs:
- name: Install Rust
if: steps.rust-cache.outputs.cache-hit != 'true'
run: |
rustup default 1.81
rustup component add rustfmt
rustup component add clippy
Expand Down

0 comments on commit 36c07ab

Please sign in to comment.