diff --git a/.github/workflows/ci-pre-commit.yml b/.github/workflows/ci-pre-commit.yml index ce71bfbb93..80bad54cb2 100644 --- a/.github/workflows/ci-pre-commit.yml +++ b/.github/workflows/ci-pre-commit.yml @@ -1,6 +1,8 @@ name: Pre-commit checks on: + pull_request: + branches: "**" push: branches: [main] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f25e5c86bc..9f34338ae1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -110,7 +110,7 @@ repos: - id: cargo-clippy-pythnet-sdk name: Cargo clippy for pythnet SDK language: "rust" - entry: cargo +1.82.0 clippy --manifest-path ./pythnet/pythnet_sdk/Cargo.toml --tests -- --deny warnings + entry: cargo +1.82.0 clippy --manifest-path ./pythnet/pythnet_sdk/Cargo.toml -- --deny warnings pass_filenames: false files: pythnet/pythnet_sdk # Hooks for solana receiver contract