Skip to content

Commit d78c14c

Browse files
Update complete-workflow.yml
1 parent b011559 commit d78c14c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/complete-workflow.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
name: Run unit tests and SAST scan on the source code
88
steps:
9-
- uses: actions/checkout@v3
10-
- name: Set up JDK 17
11-
uses: actions/setup-java@v3
9+
- uses: actions/checkout@v4
10+
- name: Set up JDK 21
11+
uses: actions/setup-java@v4
1212
with:
13-
java-version: '17'
14-
distribution: 'adopt'
13+
java-version: '21'
14+
distribution: 'julu'
1515
cache: maven
1616
- name: Build with Maven cloud
1717
run: mvn -B verify sonar:sonar -Dsonar.projectKey=javaprojectreachability -Dsonar.organization=javaprojectreachability -Dsonar.host.url=https://sonarcloud.io -Dsonar.token=$SONAR_TOKEN
@@ -39,9 +39,8 @@ jobs:
3939
with:
4040
ref: master
4141
- name: ZAP Scan
42-
uses: zaproxy/action-baseline@v0.6.1
42+
uses: zaproxy/action-baseline@v0.14.0
4343
with:
44-
docker_name: 'owasp/zap2docker-stable'
4544
target: 'http://testphp.vulnweb.com/'
4645
rules_file_name: '.zap/rules.tsv'
4746
cmd_options: '-a'

0 commit comments

Comments
 (0)