Port #102 to ros2 #224
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Action to run cpplint | |
# | |
# The cpplint configuration file is: | |
# | |
# ./CPPLINT.cfg | |
# | |
name: ccplint | |
on: [push, pull_request] | |
jobs: | |
cpplint: | |
runs-on: ubuntu-22.04 | |
name: cpplint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install cpplint | |
run: | | |
pip install cpplint | |
- name: Run cpplint | |
run: | | |
cpplint ./include/*.hh | |
cpplint ./src/*.cc |