Skip to content

Commit 6313aff

Browse files
destoglAndyZe
authored andcommitted
Update ci-format.yml
Update ci-format.yml Update ci-format.yml Update ci-format.yml Update ci-format.yml Update ci-format.yml
1 parent 3db625d commit 6313aff

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci-format.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,15 @@ jobs:
1616
name: Format
1717
runs-on: ubuntu-latest
1818
steps:
19+
- uses: ros-tooling/[email protected]
20+
with:
21+
required-ros-distributions: foxy
1922
- uses: actions/checkout@v2
2023
- uses: actions/setup-python@v2
21-
- name: Install clang-format-10
24+
- name: Install system hooks
2225
run: sudo apt-get install clang-format-10 cppcheck
23-
- uses: pre-commit/[email protected]
26+
- name: Source ROS2 environemnt to get access to ament_* hooks
27+
run: source /opt/ros/foxy/setup.bash
28+
- name: Check if there are ament hooks
29+
run: ament_copyright
30+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)