Extend validator to REP-149 format-3 conformance #63
Workflow file for this run
This file contains hidden or 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: Lint Code Base | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| Linting: | |
| name: Lint Code Base | |
| runs-on: ubuntu-latest | |
| container: ros:jazzy-ros-base | |
| steps: | |
| - name: Install Git | |
| run: sudo apt-get update && sudo apt-get install -y git | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Fix Git Permissions | |
| run: git config --global --add safe.directory $(pwd) | |
| - name: Setup System Dependencies | |
| run: | | |
| sudo apt-get install -y \ | |
| clang-format \ | |
| cppcheck \ | |
| libxml2-utils \ | |
| python3-rosdep \ | |
| python3-pip \ | |
| python-is-python3 | |
| - name: Init rosdep | |
| run: | | |
| rosdep update | |
| - name: Install and Run pre-commit | |
| uses: pre-commit/action@v3.0.1 | |
| env: | |
| PIP_BREAK_SYSTEM_PACKAGES: 1 | |
| with: | |
| extra_args: --all-files --show-diff-on-failure |