Skip to content

Commit d8e7098

Browse files
committed
feat: Add style check workflow to PRs
1 parent bc0a11a commit d8e7098

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/style-check.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Code-style checks
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
11+
- name: set up JDK 1.8
12+
uses: actions/setup-java@v1
13+
with:
14+
java-version: 1.8
15+
16+
- name: Ktlint check
17+
run: ./gradlew ktlint

0 commit comments

Comments
 (0)