Skip to content

Update branch references in README and Dockerfile to use 'ros2' inste… #51

Update branch references in README and Dockerfile to use 'ros2' inste…

Update branch references in README and Dockerfile to use 'ros2' inste… #51

Workflow file for this run

# This workflow checks code formatting using clang-format on push and pull request events to the master and ros2 branches.
name: Code_Format_Check
on:
push:
branches: [ "master", "ros2" ]
pull_request:
branches: [ "master", "ros2" ]
workflow_dispatch:
permissions:
contents: read
jobs:
code-format-check:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install clang-format
run: |
sudo apt-get update
sudo apt-get install -y clang-format-14
- name: Run clang-format check
run: |
FILES=$(find . -type f \( -name '*.h' -o -name '*.hpp' -o -name '*.cpp' \) \
! -path "*/build/*" ! -path "*/install/*" ! -path "*/log/*")
clang-format --dry-run --Werror -style=file $FILES