Skip to content

Fix square-root stub function name #421

Fix square-root stub function name

Fix square-root stub function name #421

Workflow file for this run

name: Check UUID validity
on: [push, pull_request]
jobs:
uuid:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- run: sudo apt install --yes jq
- run: |
bad_uuid=$(cat config.json | jq --raw-output '.exercises | map(.uuid) | .[]' | grep -vE '^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$' || true)
if [[ -n "$bad_uuid" ]]; then
printf "Invalid UUID(s) found:"
printf "%s" "${bad_uuid}"
exit 1
fi