Skip to content

CI (client)

CI (client) #37

Workflow file for this run

name: "CI (client)"
on:
push:
branches: [master]
pull_request:
branches: [master]
paths:
- '.github/workflows/**'
- 'lyo-client-samples/**'
schedule:
- cron: "01 13 1-7 * 5" # catch SNAPSHOT breaking changes
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ci:full') }}
jobs:
build-client-samples:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# java-version: ['17', '21']
# distribution: ['zulu', 'oracle', 'corretto', 'liberica']
include:
- java-version: '17'
distribution: 'temurin'
- java-version: '21'
distribution: 'liberica'
- java-version: '23'
distribution: 'oracle'
- java-version: '24-ea'
distribution: 'zulu'
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java-version }}
cache: 'maven'
- name: Build Lyo Client samples
run: |
mvn -B clean verify --file lyo-client-samples/pom.xml
- name: Enforce code style
run: |
mvn -B spotless:check --file lyo-client-samples/pom.xml