Skip to content

Merge pull request #7 from FontysVenlo/failing-ci #25

Merge pull request #7 from FontysVenlo/failing-ci

Merge pull request #7 from FontysVenlo/failing-ci #25

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Make sure that the API can compile
run: mvn compile
- name: Download latest alda checkstyle
run: curl https://raw.githubusercontent.com/FontysVenlo/alda_checkstyle/main/alda_checks.xml -o alda_checks.xml
- name: Check JavaDoc
run: mvn checkstyle:check -Dcheckstyle.config.location=alda_checks.xml