upgrade toolchain to fix bug in clippy

This commit is contained in:
Cyrix126 2024-10-11 10:44:51 +02:00
parent d94ae62bc2
commit facf4ebad6
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ jobs:
run: | run: |
git clone https://github.com/BurtonQin/lockbud.git git clone https://github.com/BurtonQin/lockbud.git
cd lockbud cd lockbud
sed -i 's/2024-10-05/2024-10-11/g' rust-toolchain.toml
cargo install --path . cargo install --path .
cd .. cd ..
cargo clean cargo clean

View file

@ -1,4 +1,4 @@
[toolchain] [toolchain]
channel = "nightly-2024-10-05" channel = "nightly-2024-10-11"
components = [ "rustfmt", "rustc-dev", "cargo", "clippy", "rust-analyzer", "rust-src", "llvm-tools-preview"] components = [ "rustfmt", "rustc-dev", "cargo", "clippy", "rust-analyzer", "rust-src", "llvm-tools-preview"]
target = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin","x86_64-pc-windows-gnu"] target = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin","x86_64-pc-windows-gnu"]