Skip to content

feat: Create google-code-format.yml (#7) #2

feat: Create google-code-format.yml (#7)

feat: Create google-code-format.yml (#7) #2

name: Format code
on:
push:
branches: [ prod, staging ]
pull_request:
branches: [ main, staging ]
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # v2 minimum required
- uses: axel-op/googlejavaformat-action@v3
with:
args: "--skip-sorting-imports --replace"