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