Job: test
Runner: g1t, Linux X64 (Debian bookworm, Node 24, Python 3, Go, Rust)
##[group]G1T_TOKEN permissions
actions: write
attestations: write
checks: write
contents: write
deployments: write
discussions: write
id-token: write
issues: write
metadata: write
models: write
packages: write
pages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
##[endgroup]
Checking out flagon-io/automation-lab into /home/runner/work/repo
[command]git init --quiet
[command]git remote add origin https://g1t.sh/flagon-io/automation-lab.git
[command]git fetch --no-tags --prune --quiet --depth=1 origin refs/heads/main
[command]git checkout --quiet --force -B main 8382ebcc465f86d5f262dbc616db6928850809d8
Checked out 8382ebcc465f86d5f262dbc616db6928850809d8
##[group]Unit tests
node test.js
##[endgroup]
shell: bash -e /home/runner/_temp/18ddd3963f39e846.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/18ded3968537f586.sh
house style ok
