From 1fe5e4c1da8e0facc9d02fb56783a01e784981eb Mon Sep 17 00:00:00 2001 From: Louis <836250617@qq.com> Date: Sat, 17 Feb 2024 23:17:15 +0800 Subject: [PATCH] fix: action --- .github/scripts/publish_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/publish_test.sh b/.github/scripts/publish_test.sh index 9d3ce95..5ed7f61 100755 --- a/.github/scripts/publish_test.sh +++ b/.github/scripts/publish_test.sh @@ -5,7 +5,7 @@ export TERM=xterm-256color # Statements waiting to be executed statements=( - "cargo clippy --all-features --target $1 -- -D warnings" + "cargo clippy --all-features --all-targets -p $1 -- -D warnings" "cargo test -p $1" "cargo doc --no-deps -p $1" "cargo publish -p $1 --dry-run"