-
-
Notifications
You must be signed in to change notification settings - Fork 785
39 lines (35 loc) · 917 Bytes
/
ci.yml
File metadata and controls
39 lines (35 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Java CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
java: [17, 19, 21]
include:
- os: windows-latest
java: 17
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e # v6.1.0
with:
gradle-home-cache-includes: |
caches
caches/zap-wd
notifications
- run: ./gradlew "-Dorg.gradle.jvmargs=-Xmx4g" assemble
env:
ZAP_WD_CACHE: 1
- run: ./gradlew check