Add cpplint check to style ci #170
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
name: style | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
docker_image: ['ros:iron-ros-base', 'ros:rolling-ros-base'] | |
container: | |
image: ${{ matrix.docker_image }} | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: uncrustify | |
run: /ros_entrypoint.sh ament_uncrustify rmw_zenoh_cpp/ | |
- name: cpplint | |
run: /ros_entrypoint.sh ament_cpplint rmw_zenoh_cpp/ |