Skip to content

Commit cec48f3

Browse files
authored
chore: update code formatter action (TheAlgorithms#2178)
close TheAlgorithms#2178
1 parent ea12311 commit cec48f3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/checkstyle.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: Code Formatter
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [master, Development]
6+
paths:
7+
- "**.java"
8+
49
jobs:
510
format:
611
runs-on: ubuntu-latest
712
steps:
813
- uses: actions/checkout@master
9-
- uses: actions/setup-python@v2
14+
1015
- name: Set up JDK 12
1116
uses: actions/setup-java@v1
1217
with:

0 commit comments

Comments
 (0)