From ad9d1662daa92ab957a31676936bacfc1859dff4 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Wed, 18 Sep 2024 13:59:10 -0500 Subject: [PATCH] only run rust lint on rs files --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index afbaf4bb..b42553c2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,6 +3,10 @@ name: Rust Checks on: pull_request: branches: ["main"] + paths: + - '**/*.rs' + - 'Cargo.toml' + - 'Cargo.lock' env: CARGO_TERM_COLOR: always