Skip to content

feat(CI): Added GitHub Actions to check for code style violations #2

feat(CI): Added GitHub Actions to check for code style violations

feat(CI): Added GitHub Actions to check for code style violations #2

Workflow file for this run

name: Check for formatting
on:
push:
pull_request:
jobs:
check-format:
name: Check if code needs formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Maven
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu
- name: Check if code aligns with code style
run: mvn spotless:check