Skip to content

Commit e0c5823

Browse files
eduar-hteEduardo Arias
authored and
Eduardo Arias
committed
Use latest version of cppcheck (2.14.2)
- Run cppcheck on MacOS to use a newer version of cppcheck
1 parent ec506da commit e0c5823

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -178,20 +178,21 @@ jobs:
178178
ctest -C ${{ matrix.configuration }} --output-on-failure
179179
180180
cppcheck:
181-
runs-on: [ubuntu-22.04]
181+
runs-on: [macos-14]
182182
steps:
183183
- name: Setup Dependencies
184184
run: |
185-
sudo apt-get update -y -qq
186-
sudo apt-get install -y cppcheck
187-
- name: Checkout source
188-
uses: actions/checkout@v4
185+
brew install autoconf \
186+
automake \
187+
libtool \
188+
cppcheck
189+
- uses: actions/checkout@v4
189190
with:
190191
submodules: true
191192
fetch-depth: 0
192-
- name: Configure libModSecurity
193+
- name: configure
193194
run: |
194195
./build.sh
195196
./configure
196-
- name: Run cppcheck on libModSecurity
197+
- name: cppcheck
197198
run: make check-static

0 commit comments

Comments
 (0)