Job: test
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
Checking out flagon-io/automation-lab into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/pulls/pr_01m4a88nyxer8v8nx46ade5r1d.git
[command]git fetch --no-tags --prune --quiet --depth=1 origin HEAD
[command]git checkout --quiet --force --detach 9e23efd3707a63f31771ca610cd152ce169ba58f
Checked out 9e23efd3707a63f31771ca610cd152ce169ba58f
##[group]Unit tests
node test.js
##[endgroup]
shell: bash -e /home/runner/_temp/18dd236361fc852c.sh
all tests passed
##[group]House style
# Every exported function is documented with a JSDoc block.
for fn in $(grep -oE '^function [a-zA-Z]+' math.js | cut -d' ' -f2); do
  if ! grep -B1 "^function $fn" math.js | grep -q '^ \*/\|^\*/\|\*/$'; then
    echo "::error file=math.js,title=House style::$fn needs a /** JSDoc */ comment right above it"
    exit 1
  fi
done
echo "house style ok"
##[endgroup]
shell: bash -e /home/runner/_temp/18de2363a7c6a518.sh
house style ok
