Files
visuve eb06bdeb67 Add cppcheck.yml CI action
- Now it is more difficult to introduce new errors/warnings
2024-04-06 10:46:32 +03:00

19 lines
384 B
YAML

name: Static analysis
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Cppcheck
run: |
sudo apt update
sudo apt --yes install cppcheck
- name: Static analysis
run: |
cppcheck --project=bearparser.cppcheck --error-exitcode=1 --enable=warning