Skip to content

Commit cbcfacd

Browse files
committed
Use a GH action to build PRs
1 parent ffaadbf commit cbcfacd

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build pull request
2+
3+
on:
4+
pull_request:
5+
paths-ignore:
6+
- '.gitignore'
7+
- 'CODEOWNERS'
8+
- 'LICENSE'
9+
- '*.md'
10+
- '*.adoc'
11+
- '*.txt'
12+
- '.all-contributorsrc'
13+
14+
jobs:
15+
build:
16+
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Set up JDK 21
23+
uses: actions/setup-java@v4
24+
with:
25+
distribution: temurin
26+
java-version: 21
27+
28+
- name: Build
29+
run: ./mvnw -B clean verify

0 commit comments

Comments
 (0)