diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-26 21:01:48 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-29 08:52:25 -0300 |
commit | f7e74772cfe89b5a72c2f47ecfa2cbea18599842 (patch) | |
tree | 83e7826530d629c329b7edccaba1e2bccd456ba8 | |
parent | ci: remove unnecessary dependencies and endpoints (diff) | |
download | firejail-f7e74772cfe89b5a72c2f47ecfa2cbea18599842.tar.gz firejail-f7e74772cfe89b5a72c2f47ecfa2cbea18599842.tar.zst firejail-f7e74772cfe89b5a72c2f47ecfa2cbea18599842.zip |
ci: run check-c.yml on any C code change
test/ also contains source code and cppcheck checks it:
$ make cppcheck | grep 'Checking test/'
Checking test/appimage/main.c ...
Checking test/chroot/unchroot.c ...
Checking test/filters/namespaces.c ...
Checking test/seccomp-extra/memwrexe.c ...
So make sure that it is included in the CI trigger paths.
-rw-r--r-- | .github/workflows/check-c.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml index 5c20f9892..dd841c394 100644 --- a/.github/workflows/check-c.yml +++ b/.github/workflows/check-c.yml | |||
@@ -8,9 +8,9 @@ on: | |||
8 | branches-ignore: | 8 | branches-ignore: |
9 | - 'dependabot/**' | 9 | - 'dependabot/**' |
10 | paths: | 10 | paths: |
11 | - '**.c' | ||
12 | - '**.h' | ||
11 | - 'm4/**' | 13 | - 'm4/**' |
12 | - 'src/**.c' | ||
13 | - 'src/**.h' | ||
14 | - 'src/**.mk' | 14 | - 'src/**.mk' |
15 | - 'src/**Makefile' | 15 | - 'src/**Makefile' |
16 | - .github/workflows/check-c.yml | 16 | - .github/workflows/check-c.yml |
@@ -22,9 +22,9 @@ on: | |||
22 | - configure.ac | 22 | - configure.ac |
23 | pull_request: | 23 | pull_request: |
24 | paths: | 24 | paths: |
25 | - '**.c' | ||
26 | - '**.h' | ||
25 | - 'm4/**' | 27 | - 'm4/**' |
26 | - 'src/**.c' | ||
27 | - 'src/**.h' | ||
28 | - 'src/**.mk' | 28 | - 'src/**.mk' |
29 | - 'src/**Makefile' | 29 | - 'src/**Makefile' |
30 | - .github/workflows/check-c.yml | 30 | - .github/workflows/check-c.yml |