Skip to content

Update wordlist and fix spelling #229

Update wordlist and fix spelling

Update wordlist and fix spelling #229

Workflow file for this run

# GitHub Action to run cpplint recursively on all pushes and pull requests
# https://github.com/cpplint/GitHub-Action-for-cpplint
on:
push:
paths: "src/**"
pull_request:
branches:
- "*"
name: Cpp-lint-check
jobs:
cpplint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- run: pip install cpplint
- run: cpplint --filter="-build/c++11, -build/include_subdir" --exclude="src/RcppExports.cpp" src/*.cpp
- run: cpplint --filter="-build/c++11, -build/include_subdir" --exclude="inst/include/finalsize.h" inst/include/*.h
cppcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install cppcheck
- run: cppcheck -i src/RcppExports.cpp --enable=performance,portability,warning,style --error-exitcode=1 src
- run: cppcheck --language=c++ --enable=performance,portability,warning,style --error-exitcode=1 inst/include/*.h