diff --git a/.gitea/workflows/detekt.yml b/.gitea/workflows/detekt.yml new file mode 100644 index 0000000..271c2f9 --- /dev/null +++ b/.gitea/workflows/detekt.yml @@ -0,0 +1,16 @@ +name: Проверка кода Kotlin + +on: [push, pull_request] + +jobs: + detekt-lint: + runs-on: ubuntu-latest + + steps: + - name: Скачивание кода + uses: actions/checkout@v4 + + - name: Запуск Detekt CLI + uses: docker://ghcr.io/detekt/detekt:1.23.8 + with: + args: --input .