Lua CI ck: move fmt check before clippy checks

This commit is contained in:
wtfsck 2022-05-23 22:22:58 +02:00
parent db0f57d2f8
commit 3510f35b08
1 changed files with 6 additions and 6 deletions

View File

@ -125,6 +125,12 @@ misc_tests() {
patchci_verify_patched
echo "==== RUST FORMAT CHECK ===="
cargo fmt -- --color always --check
echo "==== LUA FORMAT CHECK ===="
stylua --color always --check tests -f ./stylua.toml
set -- \
"lua51" \
"lua52" \
@ -135,12 +141,6 @@ misc_tests() {
cargo clippy --color always --release --features "$features"
done
echo "==== RUST FORMAT CHECK ===="
cargo fmt -- --color always --check
echo "==== LUA FORMAT CHECK ===="
stylua --color always --check tests -f ./stylua.toml
cd "$curr_dir"
}