From e994ef53c417512ba8e4dfc857efdea9f18ec43f Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 20 Jan 2023 08:56:23 -0700 Subject: [PATCH] Enable Java cache in security scan Reduce load on repo.jenkins-ci.org --- .github/workflows/jenkins-security-scan.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index f842fa7e..853e2023 100644 --- a/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -1,3 +1,6 @@ +# Jenkins Security Scan +# For more information, see: https://www.jenkins.io/doc/developer/security/scan/ + name: Jenkins Security Scan on: push: @@ -16,5 +19,5 @@ jobs: security-scan: uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 with: - java-cache: '' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. + java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. java-version: 11 # What version of Java to set up for the build.