-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (36 loc) · 888 Bytes
/
lts-pr.yml
File metadata and controls
37 lines (36 loc) · 888 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
name: Lts Pull Request
permissions:
contents: read
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'lts/**'
jobs:
build:
strategy:
matrix:
tc: [ 17, 21, 25 ]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./lts
env:
BUILD_EVENT: ${{ github.event_name }}
TARGET_COMPATIBILITY: ${{ matrix.tc }}
steps:
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 25
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
gradle-version: current
- name: Check out code
uses: actions/checkout@v4
- name: Build and Test
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport
- name: Verify Javadoc
run: ./gradlew javadoc