This commit is contained in:
Kreyren 2020-02-10 18:28:54 +00:00
parent 5e4bed645a
commit e9e0f9e3ec

@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Installing dependencies..
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then apt install -y cppcheck; fi
run: if ! apt list --installed | grep -qP ".*cppcheck.*"; then sudo apt install -y cppcheck; fi
- name: Linting..
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.c") ;do cppcheck "$file";done
## Valgrind test on gcc