Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/scripts/check-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ if [ ! -f .spi.yml ]; then
exit 0
fi

if ! command -v yq &> /dev/null; then
fatal "yq could not be found. Please install yq to proceed."
fi

if [ ! -f Package.swift ]; then
fatal "Package.swift not found. Please ensure you are running this script from the root of a Swift package."
fi

log "Editing Package.swift..."
cat <<EOF >> "Package.swift"

Expand Down