Skip to content

Commit

Permalink
Source ros env before linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor-99 committed Aug 21, 2024
1 parent 06e5426 commit 7d96836
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/lint/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -e

sudo apt-get update
source /opt/ros/$ROS_DISTRO/setup.bash
if [[ "ament_flake8" == "ament_${LINTER}" ]]; then
ament_${LINTER} . --config python_linter.flake8
else
Expand Down

0 comments on commit 7d96836

Please sign in to comment.