-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (32 loc) · 784 Bytes
/
ci.yml
File metadata and controls
32 lines (32 loc) · 784 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
name: CI
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: corretto
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: Gradle Tests
path: build/test-results/test/*.xml
reporter: java-junit
fail-on-error: true