Skip to content

Commit

Permalink
[TEST] Try to cause the error of ktlint and detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
s2g090123 committed Apr 22, 2024
1 parent 0d527cc commit 2888144
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/danger_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion danger/dangerfiles/DangerKtlint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2888144

Please sign in to comment.