-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (34 loc) · 942 Bytes
/
build.yml
File metadata and controls
34 lines (34 loc) · 942 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
name: Build
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
maven-package:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: 17.0.13
distribution: liberica
- name: Cache Maven dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
${{ runner.os }}-maven-
${{ runner.os }}-
- name: Run maven build
run: mvn verify -PprettierCheck -Dprettier.nodePath=node -Dprettier.npmPath=npm
- name: codecov
uses: codecov/codecov-action@v5
with:
files: ./**/target/site/jacoco/jacoco.xml