Skip to content

Move dependency to rmf_workcell #238

Move dependency to rmf_workcell

Move dependency to rmf_workcell #238

Workflow file for this run

name: style
on:
pull_request:
push:
branches: [ main ]
defaults:
run:
shell: bash
jobs:
linter:
runs-on: ubuntu-latest
strategy:
matrix:
docker_image: ['ros:jazzy-ros-base']
container:
image: ${{ matrix.docker_image }}
steps:
- name: checkout
uses: actions/checkout@v2
# TODO(luca) reintroduce after formatting
#- name: uncrustify
# run: |
# sudo apt update && sudo apt install -y ros-jazzy-rmf-utils
# /ros_entrypoint.sh ament_uncrustify -c /opt/ros/jazzy/share/rmf_utils/rmf_code_style.cfg . --language C++ --exclude nexus_endpoints/nexus_endpoints.hpp
- name: pycodestyle
run: |
sudo apt update && sudo apt install -y pycodestyle curl
pycodestyle nexus_network_configuration/
- name: Setup Rust
uses: dtolnay/[email protected]
with:
components: clippy, rustfmt
- name: rustfmt
run: |
rustfmt --check --edition 2021 nexus_workcell_editor/src/main.rs