We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3446e commit 3a2db38Copy full SHA for 3a2db38
.github/workflows/on-pr.yml
@@ -0,0 +1,28 @@
1
+name: On Pull Request
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: macos-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - name: Set up JDK 23
14
+ uses: actions/setup-java@v4
15
+ with:
16
+ distribution: oracle
17
+ java-version: 23
18
19
+ - name: Cache Maven packages
20
+ uses: actions/cache@v4
21
22
+ path: ~/.m2/repository
23
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
24
+ restore-keys: |
25
+ ${{ runner.os }}-maven-
26
27
+ - name: Build
28
+ run: mvn clean -q compile
0 commit comments