Skip to content

Commit 1fe3c99

Browse files
committed
rai_interfaces as submodule
1 parent cd84cf8 commit 1fe3c99

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,11 @@ jobs:
1212
runs-on: ubuntu-24.04
1313

1414
steps:
15-
- name: Install vcs
16-
shell: bash
17-
run: |
18-
echo 'Etc/UTC' > /etc/timezone
19-
ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime
20-
apt update && apt install -y curl software-properties-common
21-
add-apt-repository -y universe
22-
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
23-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
24-
apt update && apt install -y python3-vcstool
25-
2615
- name: Checkout code
2716
uses: actions/checkout@v4
2817
with:
29-
clean: true
30-
31-
- name: Install ROS 2 package dependencies
32-
shell: bash
33-
run: |
34-
vcs import . < ros_deps.repos
18+
fetch-depth: 0
19+
submodules: true
3520

3621
- name: Run pre-commit
3722
uses: pre-commit/[email protected]

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/rai_interfaces"]
2+
path = src/rai_interfaces
3+
url = https://github.com/RobotecAI/rai_interfaces.git

src/rai_interfaces

Submodule rai_interfaces added at c04ab3d

0 commit comments

Comments
 (0)