From dcab19a64f3dc6b8fcbe4a7b9fd8c5c58ec3e310 Mon Sep 17 00:00:00 2001 From: David Osipov Date: Mon, 16 Mar 2026 13:56:46 +0400 Subject: [PATCH] ci: remove CI workflow changes (deferred to later PR) --- .github/workflows/rust.yml | 10 +++------- .github/workflows/security.yml | 34 ---------------------------------- 2 files changed, 3 insertions(+), 41 deletions(-) delete mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0d42cd7..effe3ea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -45,14 +45,10 @@ jobs: - name: Run tests run: cargo test --verbose - - name: Check benches compile - run: cargo check --benches - - # Strict policy is deferred to PR-SEC-8 — intermediate branches use - # #[allow(clippy::panic)], #[allow(clippy::expect_used)] etc. which are - # incompatible with -F (forbid) flags active before all source fixes land. +# clippy dont fail on warnings because of active development of telemt +# and many warnings - name: Run clippy - run: cargo clippy --workspace -- -D clippy::correctness + run: cargo clippy -- --cap-lints warn - name: Check for unused dependencies run: cargo udeps || true diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml deleted file mode 100644 index c658c3c..0000000 --- a/.github/workflows/security.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Security - -on: - push: - branches: [ "*" ] - pull_request: - branches: [ "*" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - advisory-gate: - name: Advisory Gate - runs-on: ubuntu-latest - - permissions: - contents: read - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Install latest stable Rust toolchain - uses: dtolnay/rust-toolchain@stable - - - name: Install cargo-audit - run: cargo install --locked cargo-audit - - - name: Run policy regression tests - run: bash tools/security/test_enforce_audit_policy.sh - - - name: Enforce advisory policy - run: bash tools/security/enforce_audit_policy.sh \ No newline at end of file