From f42f8c52eaf13573af0df397f450011d102ebacd Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sat, 22 Jun 2024 07:43:02 -0600 Subject: [PATCH] Run Jenkins security scan with Java 21 and use maven cache --- .github/workflows/jenkins-security-scan.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index 853e202..7211385 100644 --- a/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -1,7 +1,5 @@ -# Jenkins Security Scan -# For more information, see: https://www.jenkins.io/doc/developer/security/scan/ - name: Jenkins Security Scan + on: push: branches: @@ -20,4 +18,4 @@ jobs: uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 with: 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. + java-version: 21 # What version of Java to set up for the build.