diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 653de509..9494aafa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,20 @@ on: branches: - main - '[0-9]+.[0-9]+.x' + schedule: + - cron: '0 2 * * *' + workflow_dispatch: env: CARGO_INCREMENTAL: 0 + CARGO_NET_GIT_FETCH_WITH_CLI: true CARGO_NET_RETRY: 10 CARGO_TERM_COLOR: always + CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG: true RUST_BACKTRACE: 1 RUSTUP_MAX_RETRIES: 10 + RUSTFLAGS: -D warnings + RUSTDOCFLAGS: -D warnings jobs: test: diff --git a/Cargo.toml b/Cargo.toml index ccf6d12b..7b36e306 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -149,10 +149,11 @@ missing_debug_implementations = "warn" missing_docs = "warn" [workspace.lints.clippy] -all = "deny" -pedantic = "deny" +all = "warn" +pedantic = "warn" missing_errors_doc = "warn" needless_pass_by_value = "warn" module_name_repetitions = { level = "allow", priority = 1 } too_many_lines = { level = "allow", priority = 1 } type_complexity = { level = "allow", priority = 1 } +lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12270 diff --git a/viz-core/tests/handler.rs b/viz-core/tests/handler.rs index ff776b40..bf2640e1 100644 --- a/viz-core/tests/handler.rs +++ b/viz-core/tests/handler.rs @@ -1,4 +1,5 @@ #![allow(dead_code)] +#![allow(non_local_definitions)] #![allow(clippy::unused_async)] #![allow(clippy::similar_names)] #![allow(clippy::wildcard_imports)]