-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 925 Bytes
/
build.yml
File metadata and controls
37 lines (35 loc) · 925 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: Build
on:
push:
branches:
# Run for all branches (except for Release Please branches)
# This implies not running for tags
- '**'
- '!release-please--*'
paths:
- '.github/workflows/build.yaml'
- '**/src/**'
- '**/pom.xml'
- 'checkstyle-suppressions.xml'
- '!**/*.md'
- '!.github/CODEOWNERS'
- '!.github/dependabot.yaml'
- '!.github/**/*release-please*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK/Maven
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 25
- name: Build and verify all modules
run: >-
mvn
--batch-mode
--activate-profiles=checkstyle,spotbugs,coverage
"-DrepoBaseUrl=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
verify