From 1e74f271db421588b258b785c4b33f6918ee2f67 Mon Sep 17 00:00:00 2001 From: kadraman Date: Fri, 17 May 2024 13:09:36 +0100 Subject: [PATCH] Updating Debricked action --- .github/workflows/debricked.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/debricked.yml b/.github/workflows/debricked.yml index a25aa26..fb54e3b 100644 --- a/.github/workflows/debricked.yml +++ b/.github/workflows/debricked.yml @@ -33,19 +33,19 @@ jobs: runs-on: ubuntu-latest if: ${{ (github.event_name == 'push') || (github.event_name == 'pull_request') || (github.event.inputs.runDebrickedScan == 'true') }} steps: - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v4 # Java is required to run the various Fortify utilities. # Setup JDK 11 on host - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '11' # Install appropriate version of Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-version: ${{ env.GRADLE_VERSION }} - # Install Fortify tools + # Install Fortify/Debricked tools - name: Setup Fortify tools uses: fortify/github-action/setup@v1.2.2 with: @@ -55,6 +55,6 @@ jobs: - name: Run debricked scan shell: bash run: | - debricked scan --callgraph -r "${DEFAULT_APP_NAME}" --access-token="${DEBRICKED_TOKEN}" -e "build.gradle" -e "*/**.lock" -e "**/build/classes/test/**" -e "**/target/classes/test-classes/**" . + debricked scan --callgraph -r "${DEFAULT_APP_NAME}" --access-token="${DEBRICKED_TOKEN}" -e "*/**.lock" -e "**/build/classes/test/**" -e "**/target/classes/test-classes/**" . env: DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }}