diff options
author | Brady <thatgravyboat@gmail.com> | 2024-06-09 07:22:38 -0230 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-09 11:52:38 +0200 |
commit | 1c13055266d04715b2292cc6ab107202a346adca (patch) | |
tree | 6022aac1be1ad0fe38888405a7708b4206f7d812 /.github/workflows/check-style.yaml | |
parent | a997bc86e42c7efa97a2e628aeca4e688d7b55ca (diff) | |
download | skyhanni-1c13055266d04715b2292cc6ab107202a346adca.tar.gz skyhanni-1c13055266d04715b2292cc6ab107202a346adca.tar.bz2 skyhanni-1c13055266d04715b2292cc6ab107202a346adca.zip |
Backend: Add automated style checking (#1996)
Diffstat (limited to '.github/workflows/check-style.yaml')
-rw-r--r-- | .github/workflows/check-style.yaml | 16 |
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 |