Skip to content

Add CI: build/test, CodeQL and zizmor workflows #129

Add CI: build/test, CodeQL and zizmor workflows

Add CI: build/test, CodeQL and zizmor workflows #129

Workflow file for this run

# Build the project and run the test suite with Maven.
name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
cache: maven
# 'verify' runs the unit tests (surefire) before packaging. Tests run by
# default now; they can be skipped locally with -DskipTests.
- name: Build and test with Maven
run: mvn -B verify --file pom.xml