ci: let static checks don't depend on build

Build is a time consumable operation, skip build while let
ci run faster.

Fixes: #5777

Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
Bin Liu
2022-11-28 14:27:03 +08:00
parent f02bb1a9cb
commit e723bad0af
12 changed files with 31 additions and 2 deletions

View File

@@ -16,6 +16,9 @@ build:
@echo "INFO: cargo build..."
cargo build --all-features --target $(TRIPLE)
static-checks-build:
@echo "INFO: static-checks-build do nothing.."
check: clippy format
clippy: