ci: 使用 nightly 进行代码检查

This commit is contained in:
amtoaer
2024-04-12 22:17:24 +08:00
parent 2429f3b742
commit ee7ee4b883

View File

@@ -26,7 +26,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- run: rustup toolchain install nightly --profile minimal && rustup default nightly
- run: rustup toolchain install nightly && rustup default nightly && rustup component add rustfmt clippy
- name: Cache dependencies
uses: swatinem/rust-cache@v2