From ec6cf66e037e0046ad7f9d2cface66676583ecb1 Mon Sep 17 00:00:00 2001 From: Mohammed Hussain <56958445+hussainmohd-a@users.noreply.github.com> Date: Sun, 14 Jan 2024 18:10:06 +0530 Subject: [PATCH] gh-action: static analysis for kotlin with detekt --- .github/sa.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/sa.yml diff --git a/.github/sa.yml b/.github/sa.yml new file mode 100644 index 000000000..afff4f3a9 --- /dev/null +++ b/.github/sa.yml @@ -0,0 +1,16 @@ +name: Kt Static Analyser + +on: + push: + branches: [ main ] + + jobs: + detekt: + runs-on: ubuntu-latest + + steps: + - name: "checkout" + uses: actions/checkout@v3 + + - name: "detekt" + uses: natiginfo/action-detekt-all@1.23.4