File tree 1 file changed +7
-19
lines changed
1 file changed +7
-19
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
pre-commit :
13
13
name : pre-commit
14
- runs-on : ubuntu-20 .04
14
+ runs-on : ubuntu-22 .04
15
15
steps :
16
- - uses : actions/checkout@v2
17
- - uses : actions/setup-python@v2
18
- - name : Install clang-format-10
16
+ - uses : actions/checkout@v3
17
+ - uses : actions/setup-python@v3
18
+ - name : Install clang-format
19
19
run : |
20
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
21
- sudo apt-get install clang-format-10
22
- - name : Install catkin-lint
23
- run : |
24
- lsb_release -sc
25
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
26
- sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
27
- sudo apt-get -q update
28
- sudo apt-get -q install python3-rosdep
29
- sudo rm -rf /etc/ros/rosdep/sources.list.d/*
30
- sudo rosdep init
31
- rosdep update
32
- sudo apt-get -q install catkin-lint
33
- export ROS_DISTRO=noetic
34
- -
uses :
pre-commit/[email protected]
20
+ sudo apt update
21
+ sudo apt install clang-format
22
+ -
uses :
pre-commit/[email protected]
You can’t perform that action at this time.
0 commit comments