From 1c13055266d04715b2292cc6ab107202a346adca Mon Sep 17 00:00:00 2001 From: Brady Date: Sun, 9 Jun 2024 07:22:38 -0230 Subject: Backend: Add automated style checking (#1996) --- .github/workflows/check-style.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/check-style.yaml (limited to '.github/workflows/check-style.yaml') 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 -- cgit