From fab57d9840411d9e96ecf1a7d89ce6eff7e7f3b3 Mon Sep 17 00:00:00 2001 From: David Gomes <10091092+davidgomesdev@users.noreply.github.com> Date: Fri, 22 Dec 2023 21:20:03 +0000 Subject: [PATCH] ci(gha): run build only when source code or deps changes --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 427981ed..bd496bcc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,10 @@ jobs: with: filters: | server: - - 'server/**' + - 'server/src/**' + - 'Cargo.lock' + - 'Cargo.toml' + - 'Cross.toml' app: - 'app/**'