File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 37
37
run : mvn -B checkstyle:checkstyle --file pom.xml
38
38
- name : Run PMD Check
39
39
if : success() || failure()
40
- run : mvn -B pmd:pmd --file pom.xml
40
+ run : mvn -B pmd:pmd --file pom.xml
41
+ - name : Run Snyk to check for vulnerabilities
42
+ uses : snyk/actions/maven@master
43
+ env :
44
+ SNYK_TOKEN : ${{ secrets.SNYK_KEY }}
Original file line number Diff line number Diff line change 153
153
</execution >
154
154
</executions >
155
155
</plugin >
156
+ <plugin >
157
+ <groupId >com.github.spotbugs</groupId >
158
+ <artifactId >spotbugs-maven-plugin</artifactId >
159
+ <version >4.8.6.0</version >
160
+ <executions >
161
+ <execution >
162
+ <phase >verify</phase >
163
+ <goals >
164
+ <goal >check</goal >
165
+ </goals >
166
+ </execution >
167
+ </executions >
168
+ </plugin >
156
169
</plugins >
157
170
</build >
158
171
</project >
You can’t perform that action at this time.
0 commit comments