Update actions/setup-java action to v4 #312
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CVE Scanning for Gradle | |
on: [push, pull_request] | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: CVEs scan | |
run: ./gradlew -PmamaVersion=0.0.0 -PmamdaVersion=0.0.0 dependencyCheckAnalyze |