File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
name : Run unit tests and SAST scan on the source code
8
8
steps :
9
- - uses : actions/checkout@v2
10
- - name : Set up JDK 11
11
- uses : actions/setup-java@v2
9
+ - uses : actions/checkout@v3
10
+ - name : Set up JDK 17
11
+ uses : actions/setup-java@v3
12
12
with :
13
- java-version : ' 11 '
14
- distribution : ' temurin '
13
+ java-version : ' 17 '
14
+ distribution : ' adopt '
15
15
cache : maven
16
16
- name : Build with Maven cloud
17
- run : mvn -B verify sonar:sonar -Dsonar.projectKey=javaprojectreachability -Dsonar.organization=javaprojectreachability -Dsonar.host.url=https://sonarcloud.io -Dsonar.login =$SONAR_TOKEN
17
+ run : mvn -B verify sonar:sonar -Dsonar.projectKey=javaprojectreachability -Dsonar.organization=javaprojectreachability -Dsonar.host.url=https://sonarcloud.io -Dsonar.token =$SONAR_TOKEN
18
18
env :
19
19
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
20
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
44
44
docker_name : ' owasp/zap2docker-stable'
45
45
target : ' http://testphp.vulnweb.com/'
46
46
rules_file_name : ' .zap/rules.tsv'
47
- cmd_options : ' -a'
47
+ cmd_options : ' -a'
You can’t perform that action at this time.
0 commit comments