Обновить .gitea/workflows/detekt.yml
Detekt / detekt (push) Successful in 25s

This commit is contained in:
2026-10-08 09:11:00 +00:00
parent 29b5560bcb
commit 4c31269737
+2 -10
View File
@@ -27,7 +27,6 @@ jobs:
run: | run: |
java -jar detekt-cli-1.23.6-all.jar \ java -jar detekt-cli-1.23.6-all.jar \
--input . \ --input . \
--report sarif:detekt-report.sarif \
--report txt:detekt-report.txt --report txt:detekt-report.txt
continue-on-error: true continue-on-error: true
@@ -46,13 +45,6 @@ jobs:
head -n 15 detekt-report.txt head -n 15 detekt-report.txt
echo "────────────────────────────────────────" echo "────────────────────────────────────────"
echo "" echo ""
echo "💡 Полный отчёт доступен во вкладке Actions → артефакты" echo "💡 Чтобы увидеть все нарушения — раскройте лог выше"
echo "════════════════════════════════════════" echo "════════════════════════════════════════"
if: always() if: always()
- name: Upload SARIF report
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: detekt-report.sarif
check_name: Detekt