Skip to content

Commit 6190d47

Browse files
fix: run mvn install before OWASP dependency check to support multi module projects (#19)
1 parent e132e37 commit 6190d47

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/backend_owasp_dependency_check.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
${{ runner.os }}-owasp-${{ steps.get-cache-date.outputs.date }}
4646
${{ runner.os }}-owasp-
4747
48-
48+
- name: Maven install
49+
run: mvn -B install -DskipTests -T 1C
4950

5051
- name: Run OWASP Dependency Check
5152
run: |

.github/workflows/backend_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109

110110
semantic-release:
111111
name: '.'
112-
needs: [ checkstyle,gitleaks, owasp-dependency-check, unit-test-sonarqube, trivy-scan ]
112+
needs: [ checkstyle, gitleaks, owasp-dependency-check, unit-test-sonarqube, trivy-scan ]
113113
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') }}
114114

115115
uses: ./.github/workflows/semantic_release.yml

0 commit comments

Comments
 (0)