Skip to content

Commit 09d59aa

Browse files
committed
Add GitHub Actions to format Java code
1 parent 7e394cd commit 09d59aa

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Code formatting
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
formatting:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: axel-op/googlejavaformat-action@v3
14+
with:
15+
args: "--replace"

0 commit comments

Comments
 (0)