From 7d96836f0f5aff45f9782a6ecda2ca0991d67c71 Mon Sep 17 00:00:00 2001 From: Wiktor Bajor Date: Wed, 21 Aug 2024 17:58:44 +0200 Subject: [PATCH] Source ros env before linting --- .github/actions/lint/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/lint/run.sh b/.github/actions/lint/run.sh index 3441cf7..94e8f0c 100755 --- a/.github/actions/lint/run.sh +++ b/.github/actions/lint/run.sh @@ -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