aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check-style.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/check-style.yaml')
-rw-r--r--.github/workflows/check-style.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/check-style.yaml b/.github/workflows/check-style.yaml
new file mode 100644
index 000000000..ff172208f
--- /dev/null
+++ b/.github/workflows/check-style.yaml
@@ -0,0 +1,16 @@
+name: check-style
+on:
+ - pull_request
+jobs:
+ ktlint:
+ name: Check Style
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ name: Checkout code
+ - name: ktlint
+ uses: ScaCap/action-ktlint@master
+ with:
+ github_token: ${{ secrets.github_token }}
+ reporter: github-pr-check