Skip to content

Commit f1c32bf

Browse files
committed
removes deprecated option in docc soundness check script
- verified with Swift 5.10, 6, and 6.1. Prior to swift 6, level was related to providing analysis coverage, but that doesn't appear to be the intent with this check. - with Swift 5.10, the --level option was ignored - no warning was generated - post Swift 6, that option was renamed --coverage-summary-level, but still is a no-op without also including the option --experimental-documentation-coverage
1 parent 23b52b7 commit f1c32bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/check-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ log "Checking documentation targets..."
5353
for target in $(yq -r '.builder.configs[].documentation_targets[]' .spi.yml); do
5454
log "Checking target $target..."
5555
# shellcheck disable=SC2086 # We explicitly want to explode "$ADDITIONAL_DOCC_ARGUMENTS" into multiple arguments.
56-
swift package plugin generate-documentation --target "$target" --warnings-as-errors --analyze --level detailed $ADDITIONAL_DOCC_ARGUMENTS
56+
swift package plugin generate-documentation --target "$target" --warnings-as-errors --analyze $ADDITIONAL_DOCC_ARGUMENTS
5757
done
5858

5959
log "✅ Found no documentation issues."

0 commit comments

Comments
 (0)