forked from spotify/fmt-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1016 Bytes
/
Copy pathci.yml
File metadata and controls
41 lines (34 loc) · 1016 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
38
39
40
41
name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install JDK 21
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Build
run: mvn --no-transfer-progress -B verify
- name: Publish Test Report
uses: mikepenz/action-junit-report@a9170d5795813c01ab4901ffb045b52bab4ab09d # v6.5.0
if: ${{ !cancelled() }}
with:
report_paths: 'target/surefire-reports/TEST-*.xml,target/invoker-reports/TEST-*.xml'
annotate_only: true
job_summary: true