Skip to content

Feature/advanced cmake key checks #31

Feature/advanced cmake key checks

Feature/advanced cmake key checks #31

Workflow file for this run

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: Checkout Code
uses: actions/checkout@v4
- name: Setup System Dependencies
# Added: python3-pip (for installing pre-commit), python-is-python3 (to fix 'python not found'), git (required by pre-commit)
run: |
sudo apt-get update && sudo apt-get install -y \
clang-format \
cppcheck \
libxml2-utils \
python3-rosdep \
python3-pip \
python-is-python3 \
git
- name: Install and Run pre-commit
uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --show-diff-on-failure