check / check (push) Failing after 7s
The shared files are fetched from sneak/prompts dd4027b, with this repository's own entries after the shared content in .gitignore, .editorconfig and .dockerignore. Lint and tests are Dockerfile phases (golangci-lint v2.14.0, Debian Go 1.24.13) that the build stage depends on, and the Makefile targets call the script/ entrypoints. make fmt also formats Markdown with prettier. Fixes for the new lint findings: the auth cookie is always Secure, an IRC connection's relay goroutine stops when the connection closes, and repeated strings are constants. Model: opus-5-5
14 lines
275 B
Bash
Executable File
14 lines
275 B
Bash
Executable File
#!/bin/sh
|
|
# script/setup: set up the repo for development after a fresh clone:
|
|
# installs dependencies and the git pre-commit hook.
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
|
|
|
main() {
|
|
"$SCRIPT_DIR/bootstrap"
|
|
"$SCRIPT_DIR/install-precommit"
|
|
}
|
|
|
|
main "$@"
|