Skip to content

Commit 36cf3cb

Browse files
authored
Create google-java-format.yml
1 parent 8579504 commit 36cf3cb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Format workflow
2+
name: Google Java Format
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
11+
formatting:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2 # v2 minimum required
15+
# Recommended: latest versions of Google Java Format require JDK 11+
16+
- uses: actions/setup-java@v1
17+
with:
18+
java-version: "11"
19+
- uses: axel-op/[email protected]
20+
with:
21+
args: "--skip-sorting-imports --replace"

0 commit comments

Comments
 (0)