Skip to content

Merge pull request #265 from slovdahl/run-github-actions-on-pull-requ… #40

Merge pull request #265 from slovdahl/run-github-actions-on-pull-requ…

Merge pull request #265 from slovdahl/run-github-actions-on-pull-requ… #40

Workflow file for this run

name: Java tests
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java:
- '8'
- '11'
- '17'
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v3
- name: Set up Eclipse Temurin ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -B package --file pom.xml