Skip to content

Use older version to avoid using Java 17 #6

Use older version to avoid using Java 17

Use older version to avoid using Java 17 #6

Workflow file for this run

name: Style checker
description: Check the formatting. Use "mvn spotless:apply" to format the code.
on:
push:
jobs:
check-formatting:
runs-on: ubuntu-latest
name: Check the style
steps:
- name: Checkout source code
uses: actions/checkout@v4
# Restores Maven dependecies
- name: Restore local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run spotless checks
run: mvn spotless:check