From 87157e28cac317f688e15fc86a561303ebc66eb2 Mon Sep 17 00:00:00 2001 From: Yadu Date: Thu, 20 Aug 2020 11:44:52 +0800 Subject: [PATCH] Create style.yaml --- .github/workflows/style.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/style.yaml diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml new file mode 100644 index 000000000..832ffdb0a --- /dev/null +++ b/.github/workflows/style.yaml @@ -0,0 +1,17 @@ +name: style +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-18.04 + container: + image: docker://ros:eloquent-ros-base-bionic + steps: + - uses: actions/checkout@v1 + - name: deps + run: | + sudo apt-get update + - name: rmf_uncrustify + shell: bash + run: | + source /opt/ros/eloquent/setup.bash + ament_uncrustify -c rmf_utils/test/format/rmf_code_style.cfg rmf_traffic/ rmf_traffic_ros2/ rmf_fleet_adapter/include/ rmf_fleet_adapter/test/ rmf_fleet_adapter/src/