Skip to content

Migrate to Jazzy

Migrate to Jazzy #197

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/rust-toolchain@1.75
with:
components: clippy, rustfmt
- name: rustfmt
run: |
rustfmt --check --edition 2021 nexus_workcell_editor/src/main.rs