From 12a47fe20749eb2c7e465db72d440a846c52f314 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Tue, 5 Mar 2024 09:52:03 +0100 Subject: [PATCH] Remove owasp-dependency-check - We have replaced it by Snyk --- .github/workflows/owasp-dependency-check.yml | 60 -------------------- 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/owasp-dependency-check.yml diff --git a/.github/workflows/owasp-dependency-check.yml b/.github/workflows/owasp-dependency-check.yml deleted file mode 100644 index 32a8c61..0000000 --- a/.github/workflows/owasp-dependency-check.yml +++ /dev/null @@ -1,60 +0,0 @@ -on: - workflow_call: - inputs: - java_version: - type: string - description: set version of java used to run the maven - default: '17' - directory_path: - type: string - description: directory with pom.xml to be executed - default: . - -jobs: - build: - runs-on: 'ubuntu-latest' - defaults: - run: - working-directory: ${{ inputs.directory_path }} - steps: - - uses: actions/checkout@v4 - - name: Set up JDK ${{ inputs.java_version }} - uses: actions/setup-java@v4 - with: - java-version: ${{ inputs.java_version }} - distribution: 'temurin' - cache: maven - - name: Prepare Build - run: mvn -B --no-transfer-progress -DskipTests=true package - - name: Upload Build Results - uses: actions/upload-artifact@v4 - with: - name: build-for-owasp - path: ${{ inputs.directory_path }} - retention-days: 1 - - test: - runs-on: 'ubuntu-latest' - needs: build - container: - image: owasp/dependency-check-action:latest - steps: - - uses: actions/download-artifact@v3 - with: - name: build-for-owasp - - run: mkdir reports - - name: Run Test - run: /usr/share/dependency-check/bin/dependency-check.sh --project ${{ github.event.repository.name }} -s . -o reports --format HTML --format JUNIT - - name: Publish Test Report - uses: mikepenz/action-junit-report@v4 - with: - detailed_summary: true - include_passed: false - report_paths: '**/reports/*.xml' - - name: Upload Report Results - uses: actions/upload-artifact@v4 - with: - name: Dependency Check Report - path: reports - -