Skip to content

Commit

Permalink
ci: remove OWASP dependency check from workflow
Browse files Browse the repository at this point in the history
Simplify CI pipeline by removing OWASP dependency check step and adjusting step numbers accordingly
  • Loading branch information
Joabsonlg committed Nov 23, 2024
1 parent 46d3dd0 commit 785806b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,7 @@ jobs:
mvn ${{ env.MAVEN_CLI_OPTS }} jacoco:report
echo "COVERAGE=$(mvn ${{ env.MAVEN_CLI_OPTS }} jacoco:report | grep -A 1 "Line Coverage" | tail -n 1 | grep -o '[0-9]*%' | cut -d'%' -f1)" >> $GITHUB_ENV
# Step 4: Security Scan
- name: Run OWASP Dependency Check
run: mvn ${{ env.MAVEN_CLI_OPTS }} org.owasp:dependency-check-maven:check
continue-on-error: true

# Step 5: Performance Check
# Step 4: Performance Check
- name: Check for performance regressions
run: |
# Compare test execution times with baseline
Expand All @@ -105,7 +100,7 @@ jobs:
fi
continue-on-error: true

# Step 6: Store Results
# Step 5: Store Results
- name: Save test results
if: always()
uses: actions/upload-artifact@v3
Expand All @@ -117,7 +112,7 @@ jobs:
target/dependency-check-report.html
retention-days: ${{ env.CACHE_DURATION }}

# Step 7: Cache
# Step 6: Cache
- name: Cache Maven packages
uses: actions/cache@v3
with:
Expand All @@ -129,7 +124,7 @@ jobs:
${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}-
${{ runner.os }}-m2-
# Step 8: Report Status
# Step 7: Report Status
- name: Check Quality Gates
if: always()
run: |
Expand Down

0 comments on commit 785806b

Please sign in to comment.