Skip to content

chore: add github actions #1

chore: add github actions

chore: add github actions #1

Workflow file for this run

name: Test Java project on different OS
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '21'
- name: Build with Maven
run: mvn clean package
- name: Run tests with Maven
run: mvn test