File tree 2 files changed +22
-1
lines changed
2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 49
49
run : |
50
50
rosdep update
51
51
52
+ - name : Import ros2 dependencies
53
+ shell : bash
54
+ run : |
55
+ vcs import . < ros_deps.repos
56
+
52
57
- name : Install ROS 2 package dependencies
53
58
shell : bash
54
59
run : |
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
pre-commit :
12
- runs-on : ubuntu-24.04
12
+ runs-on :
13
+ - self-hosted
14
+
15
+ container :
16
+ image : osrf/ros:humble-desktop-full
13
17
14
18
steps :
19
+ - name : Install pre-commit
20
+ run : |
21
+ apt update && apt install -y python3-pip shellcheck python-is-python3
22
+
15
23
- name : Checkout code
16
24
uses : actions/checkout@v4
17
25
with :
18
26
fetch-depth : 0
19
27
28
+ - run : |
29
+ git config --global --add safe.directory /__w/rai/rai
30
+
31
+ - name : Import ros2 dependencies
32
+ shell : bash
33
+ run : |
34
+ vcs import . < ros_deps.repos
35
+
20
36
- name : Run pre-commit
21
37
uses :
pre-commit/[email protected]
22
38
with :
You can’t perform that action at this time.
0 commit comments