Nikolay Puliaev
03/01/2023, 3:17 PMdetekt.yml
new libraries
and formatting
sections, now build doesn’t work because apparently I need to connect plugins to CLI.
Part of the action to execute detekt:
jobs:
detekt:
runs-on: buildjet-4vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- name: Setup detekt
uses: peter-murray/setup-detekt@v2
with:
detekt_version: 1.22.0
- name: Run detekt
run: detekt-cli \
--config plugins/detekt/detekt.yml \
--build-upon-default-config \
--excludes '**/androidTest/**','**/build.gradle.kts'
How can I connect both formatting
and libraries
plugins? I’ve read the documentation, but there’s no actual example how to add the plugins.Big Chungus
03/01/2023, 3:55 PMNikolay Puliaev
03/01/2023, 3:58 PM