Skip to content

Commit

Permalink
Add missing sudo to cppcheck GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
thus committed Dec 26, 2023
1 parent bcc93d6 commit 4b36b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:

- name: Install Cppcheck
run: |
apt-get update
apt-get install -y --no-install-recommends cppcheck
sudo apt-get update
sudo apt-get install -y --no-install-recommends cppcheck
- name: Run Cppcheck
run: cppcheck --error-exitcode=1 src/*.c

0 comments on commit 4b36b4f

Please sign in to comment.