Skip to content

Commit

Permalink
ci: remove automatic code formatting
Browse files Browse the repository at this point in the history
Automatic code formatting is causing more issues than it's worth at this moment. Instead we should fail the build if the checks don't pass and fix the issue manually.
  • Loading branch information
remcowesterhoud committed Mar 2, 2022
1 parent 7dbf160 commit bb05eb9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call: { }
jobs:
code-formatting:
name: Apply code formatting
name: check code formatting
timeout-minutes: 15
runs-on: ubuntu-latest

Expand All @@ -27,12 +27,7 @@ jobs:
java-version: 17

- name: Apply format
run: mvn spotless:apply

- name: Commit and push format changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: apply format"
run: mvn spotless:check

build-and-test:
name: Run tests on ${{ matrix.os }}
Expand Down

0 comments on commit bb05eb9

Please sign in to comment.