Added cppcheck workflow

This commit is contained in:
SChernykh
2021-09-05 12:51:20 +02:00
parent abf5918da9
commit 4deef2f807
6 changed files with 37 additions and 1 deletions

26
.github/workflows/cppcheck.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: cppcheck
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
cppcheck-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Install cppcheck
run: sudo apt update && sudo apt install cppcheck
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: true
- name: Run cppcheck
run: |
cd cppcheck
./run.sh