fix(#294): document KSP standalone versioning, harden ci-summary reporting
- A2: Add inline comment to libs.versions.toml explaining ksp version is standalone per KSP 2.0+ guidance (not kotlinVersion-kspVersion) - A3: Rewrite ci-summary check job to report each dependency's result individually with explicit skipped/cancelled/failure handling Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
1 parent
b81a84f801
commit
f870f96fe0
2 files changed
+13
-3
No files matched your search
@@ -272,9 +272,17 @@ jobs:
|
||||
TEST_RESULT: ${{ needs.unit-tests.result }}
|
||||
BUILD_RESULT: ${{ needs.build.result }}
|
||||
run: |
|
||||
echo "::notice::ktlint=$KTLINT_RESULT, android-lint=$LINT_RESULT, tests=$TEST_RESULT, build=$BUILD_RESULT"
|
||||
if [[ "$KTLINT_RESULT" != "success" || "$LINT_RESULT" != "success" || "$TEST_RESULT" != "success" || "$BUILD_RESULT" != "success" ]]; then
|
||||
echo "::error::One or more CI jobs failed"
|
||||
FAILED=0
|
||||
for entry in "ktlint:$KTLINT_RESULT" "android-lint:$LINT_RESULT" "unit-tests:$TEST_RESULT" "build:$BUILD_RESULT"; do
|
||||
name="${entry%%:*}"
|
||||
result="${entry#*:}"
|
||||
echo "::notice::$name = $result"
|
||||
if [[ "$result" != "success" ]]; then
|
||||
FAILED=1
|
||||
fi
|
||||
done
|
||||
if [[ "$FAILED" -eq 1 ]]; then
|
||||
echo "::error::CI failed — check individual job logs"
|
||||
exit 1
|
||||
fi
|
||||
echo "All CI jobs passed ✅"
|
||||
Reference in new issue
Block a user