Skip to content

Bump main to 2.2.3 #983

Bump main to 2.2.3

Bump main to 2.2.3 #983

Workflow file for this run

name: style
on:
pull_request:
push:
branches: [ main ]
jobs:
linter:
runs-on: ubuntu-latest
strategy:
matrix:
docker_image: ['ros:humble-ros-base']
container:
image: ${{ matrix.docker_image }}
steps:
- uses: actions/checkout@v2
- name: deps
shell: bash
run: |
sudo apt-get update
sudo apt-get install wget pycodestyle
# Note: Enable this if only cpp files are available for style check
# - name: rmf_uncrustify
# shell: bash
# run: |
# wget https://raw.githubusercontent.com/open-rmf/rmf_utils/master/rmf_utils/test/format/rmf_code_style.cfg
# source /opt/ros/foxy/setup.bash
# ament_uncrustify -c rmf_code_style.cfg
- name: pycodestyle
shell: bash
run: |
pycodestyle .