File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change 1- # This is a format job. Pre-commit has a first-party GitHub action, so we use
2- # that: https://github.com/pre-commit/action
3-
41name : Format
52
63on :
129
1310jobs :
1411 pre-commit :
15- name : pre-commit
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@v6
19- - uses : actions/setup-python@v6
20- - name : Install clang-format
21- run : sudo apt-get install clang-format
22- -
uses :
pre-commit/[email protected] 23- id : precommit
24- - name : Upload pre-commit changes
25- if : failure() && steps.precommit.outcome == 'failure'
26- uses : rhaschke/upload-git-patch-action@main
27- with :
28- name : pre-commit
12+ uses : ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
13+ with :
14+ ros_distro : rolling
You can’t perform that action at this time.
0 commit comments