Skip to content

Commit

Permalink
Update cppcheck.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sakumisu authored Sep 27, 2024
1 parent baba1d5 commit b7bdb5e
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 @@ -12,13 +12,13 @@ jobs:
- name: cppcheck
shell: bash
run: |
sudo apt-get update
git clone https://github.com/danmar/cppcheck.git
cd cppcheck
git fetch --tags
latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Latest release tag: $latest_tag"
git checkout $latest_tag
make FILESDIR=/usr/local/share/Cppcheck -j2
make FILESDIR=/usr/local/share/Cppcheck -j8
sudo make install FILESDIR=/usr/local/share/Cppcheck
cppcheck --version
cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 class/ core/ common/ port/

0 comments on commit b7bdb5e

Please sign in to comment.