🔀 Merge origin/alpha
into origin/beta
#90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Validate pull request | |
on: | |
pull_request: | |
branches: | |
- main | |
- beta | |
- alpha | |
- dev | |
jobs: | |
check-style: | |
name: Check code style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: temurin | |
cache: maven | |
- name: Perform style check | |
run: ./mvnw checkstyle:check | |
build-and-test: | |
name: Build and test project | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
distribution: | |
- temurin | |
- zulu | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: ${{ matrix.distribution }} | |
cache: maven | |
- name: Perform build and tests | |
run: ./mvnw clean package | |