ci: align clippy checks and fixup (#3868)

* fix: make clippy

* fix: use make in CI
This commit is contained in:
shuiyisong
2024-05-07 11:00:38 +08:00
committed by GitHub
parent 530353785c
commit 1b93a026c2
2 changed files with 2 additions and 1 deletions

View File

@@ -326,7 +326,7 @@ jobs:
# Shares with `Check` job
shared-key: "check-lint"
- name: Run cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings
run: make clippy
coverage:
if: github.event.pull_request.draft == false

View File

@@ -23,6 +23,7 @@ pub mod handler {
use axum::extract::Query;
use axum::http::StatusCode;
use axum::response::IntoResponse;
use common_telemetry::info;
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use snafu::ResultExt;