Skip to content

Commit

Permalink
Add a gh action to check every commit for coding conventions
Browse files Browse the repository at this point in the history
Related to #476
  • Loading branch information
egli authored and josteinaj committed Nov 1, 2021
1 parent f78c981 commit 123990c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check code conventions

on: [push]

jobs:
check-code-conventions:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- name: Build with Maven
run: mvn --batch-mode editorconfig:check

0 comments on commit 123990c

Please sign in to comment.