diff --git a/.github/workflows/danger_checks.yml b/.github/workflows/danger_checks.yml index 556436fa..00bfdc47 100644 --- a/.github/workflows/danger_checks.yml +++ b/.github/workflows/danger_checks.yml @@ -90,7 +90,7 @@ jobs: bundle install bundle exec danger --dangerfile=danger/dangerfiles/DangerDeteKt --danger_id=detekt - - name: Archive detekt ReQports + - name: Archive detekt Reports uses: actions/upload-artifact@v2 with: name: detekt-report diff --git a/danger/dangerfiles/DangerKtlint b/danger/dangerfiles/DangerKtlint index a9cb26fc..fab46a2e 100644 --- a/danger/dangerfiles/DangerKtlint +++ b/danger/dangerfiles/DangerKtlint @@ -3,9 +3,9 @@ ktlint_dir = [ "**/build/reports/ktlint/ktlintMainSourceSetCheck/ktlintMainSourceSetCheck.json", "**/build/reports/ktlint/ktlintTestSourceSetCheck/ktlintTestSourceSetCheck.json" ] +ktlint.skip_lint = false ktlint_dir.each do |dir| Dir[dir].each do |file_name| - ktlint.skip_lint = false ktlint.report_file = file_name ktlint.lint(inline_mode: true) end