Use available clang-format version for Ubuntu 22 #126
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 Checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- {rosdistro: 'humble', container: 'osrf/ros:humble-desktop'} | |
container: ${{ matrix.config.container }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: src/grid_map_geo | |
- name: Install Dependencies with Rosdep | |
run: | | |
apt update | |
rosdep update | |
source /opt/ros/${{matrix.config.rosdistro}}/setup.bash | |
rosdep install --from-paths src --ignore-src -y --dependency-types test | |
shell: bash | |
- name: Check Code format | |
working-directory: src/grid_map_geo/Tools | |
run: | | |
./check_code_format.sh .. |