Skip to content

Commit

Permalink
Added sudo for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanFabian committed May 10, 2024
1 parent 1e57607 commit 199e6c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- name: Setup
run: |
apt-get update && apt-get install -y clang-format cppcheck libxml2-utils
sudo apt-get update && sudo apt-get install -y clang-format cppcheck libxml2-utils
- name: Lint C++
run: |
clang-format -Werror -n -style=file $(find . -name '*.cpp' -o -name '*.hpp' -o -name '*.h' -o -name '*.c' -o -name '*.cc')
Expand All @@ -44,8 +44,8 @@ jobs:
steps:
- name: install build tools
run: |
apt-get update
apt-get install -y ros-dev-tools
sudo apt-get update
sudo apt-get install -y ros-dev-tools
- uses: actions/checkout@v4
with:
path: src/qml_ros2_plugin
Expand Down

0 comments on commit 199e6c0

Please sign in to comment.