Skip to content

Commit 61518d9

Browse files
authored
Add Semgrep to CircleCI workflow (#588)
1 parent 57d9eda commit 61518d9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

+9
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ jobs:
105105
steps:
106106
- setup
107107
- run-psalm
108+
semgrep:
109+
docker:
110+
- image: returntocorp/semgrep:latest
111+
steps:
112+
- checkout
113+
- run:
114+
name: Run static code analysis (Semgrep)
115+
command: semgrep --config auto
108116
pest:
109117
parameters:
110118
php:
@@ -138,6 +146,7 @@ jobs:
138146
workflows:
139147
test:
140148
jobs:
149+
- semgrep
141150
- phpinsights:
142151
matrix:
143152
parameters:

0 commit comments

Comments
 (0)