Skip to content

Commit b50ef72

Browse files
author
Patrick Jackson
committed
add ktlint to .guthub/pull_request.yml
1 parent b269f6f commit b50ef72

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml renamed to .github/workflows/pull_request.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: PR
22

33
on:
44
pull_request:
@@ -7,7 +7,16 @@ on:
77
- '*.md'
88

99
jobs:
10+
ktlint:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Ktlint
17+
uses: "vroy/gha-kotlin-linter@v1"
1018
test:
19+
needs: ktlint
1120
runs-on: ${{ matrix.os }}
1221
strategy:
1322
matrix:

0 commit comments

Comments
 (0)