Skip to content

Trailblazer tests (#108) #389

Trailblazer tests (#108)

Trailblazer tests (#108) #389

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
validation:
name: Validate Gradle wrappers
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Validate Gradle wrappers
uses: gradle/actions/wrapper-validation@v4
assemble:
name: Assemble
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
cache: "gradle"
- name: Assemble project
run: ./gradlew assemble
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
cache: "gradle"
- name: Run tests
run: ./gradlew test
style:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17
cache: "gradle"
- name: Check formatting
run: ./gradlew spotlessCheck