Skip to content

Commit

Permalink
feat: Create google-code-format.yml
Browse files Browse the repository at this point in the history
Closes #6
  • Loading branch information
TheGamer1002 authored Jan 9, 2024
1 parent b41170e commit 664f4d9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/google-code-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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"

0 comments on commit 664f4d9

Please sign in to comment.