This commit is contained in:
26
.github/workflows/code_checks.yaml
vendored
Normal file
26
.github/workflows/code_checks.yaml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Code Analysis
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup
|
||||
uses: aminya/setup-cpp@v1
|
||||
with:
|
||||
cppcheck: true
|
||||
|
||||
- name: Static analysis (source code)
|
||||
run: |
|
||||
cppcheck \
|
||||
--enable=all \
|
||||
--std=c++23 \
|
||||
--inline-suppr \
|
||||
--error-exitcode=1 \
|
||||
--suppress=missingInclude \
|
||||
--suppress=missingIncludeSystem \
|
||||
rediska/
|
||||
Reference in New Issue
Block a user