Merge pull request #818 from ChenZhongPu/main

Update Ci: remove actions-rs/cargo@v1
pull/821/head
Sunface 3 years ago committed by GitHub
commit 4247043f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -292,9 +292,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
- run: cargo check
test:
name: Test Suite
@ -306,9 +304,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
- run: cargo test
fmt:
name: Rustfmt
@ -321,10 +317,7 @@ jobs:
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- run: cargo fmt --all -- --check
clippy:
name: Clippy
@ -337,10 +330,7 @@ jobs:
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- run: cargo clippy -- -D warnings
```
## 构建

Loading…
Cancel
Save