Skip to content

Commit a2b3891

Browse files
ci: install cppcheck in debug and limit static analysis
1 parent df1abba commit a2b3891

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/esp_dry_run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
upload_component:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
with:
1515
submodules: "recursive"
1616

.github/workflows/esp_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
upload_component:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
with:
1515
submodules: "recursive"
1616

.github/workflows/main.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
c-compiler: clang
1818
cxx-compiler: clang++
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v6
2121
with:
2222
submodules: true
2323
- run: |
2424
wget https://apt.llvm.org/llvm.sh
2525
chmod +x llvm.sh
2626
sudo ./llvm.sh $LLVM_VERSION
2727
sudo apt-get update -y && sudo apt-get upgrade -y
28-
sudo apt-get -y install gcc-multilib g++-multilib clang-tidy-$LLVM_VERSION
28+
sudo apt-get -y install gcc-multilib g++-multilib clang-tidy-$LLVM_VERSION cppcheck
2929
sudo update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-$LLVM_VERSION 50
3030
clang-tidy --version
3131
- run: >
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
make VERBOSE=1
4141
make test
42-
- uses: actions/upload-artifact@v4
42+
- uses: actions/upload-artifact@v7
4343
if: always()
4444
with:
4545
name: ${{github.job}}-#${{strategy.job-index}}-${{job.status}}-${{join(matrix.*, ',')}}
@@ -62,7 +62,7 @@ jobs:
6262
c-compiler: clang
6363
cxx-compiler: clang++
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@v6
6666
with:
6767
submodules: true
6868
- run: |
@@ -80,7 +80,7 @@ jobs:
8080
run: |
8181
make VERBOSE=1
8282
make test
83-
- uses: actions/upload-artifact@v4
83+
- uses: actions/upload-artifact@v7
8484
if: always()
8585
with:
8686
name: ${{github.job}}-#${{strategy.job-index}}-${{job.status}}-${{join(matrix.*, ',')}}
@@ -92,7 +92,7 @@ jobs:
9292
if: github.event_name == 'push'
9393
runs-on: ubuntu-latest
9494
steps:
95-
- uses: actions/checkout@v4
95+
- uses: actions/checkout@v6
9696
with:
9797
submodules: true
9898
- run: |
@@ -102,15 +102,15 @@ jobs:
102102
cmake
103103
-B ${{ github.workspace }}/build
104104
-DCMAKE_BUILD_TYPE=Debug
105-
-DNO_STATIC_ANALYSIS=ON
105+
-DNO_STATIC_ANALYSIS=1
106106
-DENABLE_COVERAGE=ON
107107
.
108108
- working-directory: ${{ github.workspace }}/build
109109
run: |
110110
make -j$(nproc)
111111
make test
112112
make coverage
113-
- uses: actions/upload-artifact@v4
113+
- uses: actions/upload-artifact@v7
114114
if: always()
115115
with:
116116
name: ${{ github.job }}-coverage-report
@@ -125,7 +125,7 @@ jobs:
125125
-Wall -Wextra -Werror -pedantic -Wconversion -Wtype-limits -Wcast-align -Wfatal-errors
126126
-Wno-error=unused-function
127127
steps:
128-
- uses: actions/checkout@v4
128+
- uses: actions/checkout@v6
129129
with:
130130
submodules: true
131131
- run: |

0 commit comments

Comments
 (0)