Skip to content

Improve configs with init methods #180

Improve configs with init methods

Improve configs with init methods #180

Workflow file for this run

name: Build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
if: |
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup jdk
uses: actions/setup-java@v3
with:
java-version: 17
cache: gradle
distribution: temurin
- name: Build with gradle
run: ./gradlew build coverage
- name: Upload build reports
uses: actions/upload-artifact@v3
if: always()
with:
name: build-reports
retention-days: 7
path: |
**/build/test-results/*/TEST-*.xml
**/build/reports/jacoco/*/*.xml