Skip to content

Sync spotless changes #986

Sync spotless changes

Sync spotless changes #986

name: Continuous Integration
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 11
- name: Setup gradle
uses: gradle/actions/setup-gradle@v4
- name: lint
run: ./gradlew javaToolChains spotlessCheck
- name: Assemble
run: ./gradlew assemble
- name: Build
run: ./gradlew build testAllJavaVersions jacocoTestReport
- name: Archive Test Results
uses: actions/upload-artifact@v4
with:
name: Test Results
path: base/build/reports/tests
- name: Archive Code Coverage Report
uses: actions/upload-artifact@v4
with:
name: Code Coverage Results
path: base/build/reports/jacoco