Skip to content

Add pipeline

Add pipeline #1

name: Java CI
on: [push]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.6
- name: Check formatting
run: mvn spotless:check
- name: Compile code
run: mvn clean install