From 603e20b5f7c040ee2a9b5f10ca8bf094360fc429 Mon Sep 17 00:00:00 2001 From: OlivierDehaene Date: Thu, 23 Mar 2023 18:01:30 +0100 Subject: [PATCH] feat(ci): add ci paths (#134) --- .github/workflows/build.yaml | 9 +++++++++ .github/workflows/tests.yaml | 2 ++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6c752de8..220b2fa3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,6 +8,15 @@ on: tags: - 'v*' pull_request: + paths: + - ".github/workflows/build.yaml" + - "server/**" + - "proto/**" + - "router/**" + - "launcher/**" + - "Cargo.lock" + - "rust-toolchain.toml" + - "Dockerfile" branches: - 'main' diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 476ae443..1a45ad04 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,6 +8,8 @@ on: - "proto/**" - "router/**" - "launcher/**" + - "Cargo.lock" + - "rust-toolchain.toml" jobs: run_tests: