Skip to content

Add Formetter to GitHub Actions #1

Add Formetter to GitHub Actions

Add Formetter to GitHub Actions #1

Workflow file for this run

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