Skip to content

Use Java 11 runtime for GitHub Actions testing #2

Use Java 11 runtime for GitHub Actions testing

Use Java 11 runtime for GitHub Actions testing #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: maven
- name: Run tests
run: mvn test --batch-mode --fail-at-end
- name: Build uber JAR
run: mvn package --batch-mode -DskipTests