Skip to content

Commit

Permalink
Add Formetter to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JREastonMarks committed Feb 20, 2024
1 parent c34bb9c commit 707aa76
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Format

on: [ push, pull_request ]

jobs:

formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # v2 minimum required
- uses: axel-op/googlejavaformat-action@v3
with:
args: "--replace"
skip-commit: true
- name: Print diffs
run: git --no-pager diff --exit-code

0 comments on commit 707aa76

Please sign in to comment.