ci: 使用 nightly 进行代码检查
This commit is contained in:
2
.github/workflows/check.yaml
vendored
2
.github/workflows/check.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user