From 528f2583f81f9a2fa27bd5b884a345fb704d880f Mon Sep 17 00:00:00 2001 From: Ottatop Date: Fri, 20 Oct 2023 20:27:23 -0500 Subject: [PATCH] Only run rust workflow on changes --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5d4e0a7..1ad0852 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,8 +3,12 @@ name: Rust on: push: branches: ["main"] + paths: + - "src/**" pull_request: branches: ["main"] + paths: + - "src/**" env: CARGO_TERM_COLOR: always