Skip to content

Add template Java dockerfile and automate build #11

Add template Java dockerfile and automate build

Add template Java dockerfile and automate build #11

Workflow file for this run

name: Java Lint
on:
push:
branches:
- main
pull_request:
jobs:
Spotlesslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Run Spotless lint
working-directory: ./java-demo
run: ./mvnw spotless:check