-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (40 loc) · 1.07 KB
/
ci.yml
File metadata and controls
49 lines (40 loc) · 1.07 KB
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
40
41
42
43
44
45
46
47
48
49
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
# Opt in to Node 24 ahead of GitHub's 2026-06-02 forced upgrade. Both
# actions/checkout@v4 and actions/setup-java@v4 are already the latest
# major versions and ship Node 20 binaries; this env var lets the runner
# execute them under Node 24 today.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: maven
- name: Run tests
run: ./mvnw -B test
javadoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: maven
- name: Verify Javadoc
run: ./mvnw -B javadoc:jar