Skip to content

(feat) minimum viable implementation #1

(feat) minimum viable implementation

(feat) minimum viable implementation #1

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java-distribution:
- temurin
- zulu
- adopt-hotspot
- adopt-openj9
- liberica
- microsoft
- corretto
- semeru
- oracle
- dragonwell
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up "${{ matrix.java-distribution }}" JDK 21
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.java-distribution }}
java-version: 21
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: gradle-${{ runner.os }}
- name: Build with Gradle
run: ./gradlew build
- name: Run tests
run: ./gradlew test