From d9331dfc3ae6aa6ac6077d05bea6468d18cc09f8 Mon Sep 17 00:00:00 2001 From: scawful Date: Fri, 20 Oct 2023 03:09:39 -0400 Subject: [PATCH] make test workflow only run when app changes --- .github/workflows/cmake.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index cd6643e2..73b2469c 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -2,8 +2,14 @@ name: CMake on: push: + paths: + - 'src/**' + - 'test/**' branches: [ "master" ] pull_request: + paths: + - 'src/**' + - 'test/**' branches: [ "master" ] env: @@ -18,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 with: submodules: recursive