Skip to content

Commit 447f38f

Browse files
committed
ci:check support
1 parent 4591967 commit 447f38f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/cppcheck.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ name: cpp check workflows
33
on:
44
push:
55
branches:
6-
- 'develop'
7-
paths:
8-
- 'XEngine_Source/**'
9-
- 'XEngine_Release/**'
10-
- '.github/**'
6+
- 'master'
117

128
jobs:
139
build:
@@ -16,16 +12,14 @@ jobs:
1612
steps:
1713
- name: Checkout main repository code
1814
uses: actions/checkout@v4
19-
with:
20-
ref: 'develop'
2115

2216
- name: Create static_analysis directory
2317
run: mkdir -p static_analysis
2418

2519
- name: Run Cppcheck
2620
run: |
2721
sudo apt-get install -y cppcheck
28-
cppcheck --enable=all --language=c++ --std=c++20 ./XEngine_Source/ --output-file=static_analysis/log.xml --xml
22+
cppcheck --enable=all --language=c++ --std=c++20 ./ --output-file=static_analysis/log.xml --xml
2923
continue-on-error: true
3024

3125
- name: Upload Cppcheck Results

0 commit comments

Comments
 (0)