Merge pull request #139 from tjake/fix-large-prompts #254
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: Unit Test CI | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/unit-tests.yaml | |
- '**.java' | |
- '**/pom.xml' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest, macos-13 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: | | |
20 | |
21 | |
22 | |
distribution: adopt | |
mvn-toolchain-vendor: AdoptOpenJDK | |
cache: maven | |
- name: Compile, run tests, and package (JDK 20/21/22) | |
run: mvn -B package |