Skip to content

Commit

Permalink
Add GH workflow to check source code format on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez authored and tzolov committed May 11, 2024
1 parent cdb80e8 commit d7dad6e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/source-code-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Source Code Format

on:
pull_request:
branches:
- main

jobs:
build:
name: Build branch
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'

- name: Source code formatting check
run: |
./mvnw spring-javaformat:validate

0 comments on commit d7dad6e

Please sign in to comment.