Skip to content

cppcheck fixes.

cppcheck fixes. #8

Workflow file for this run

name: cppcheck
on:
push:
paths:
- 'src/**'
- 'include/**'
- 'Makefile'
- '*.mk'
- '.github/workflows/check.yml'
jobs:
cppcheck:
name: Check source code
runs-on: ubuntu-latest
env:
CC: gcc
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: sudo apt-get install -y cppcheck
- name: Run cppcheck
run: make check