Files
web/scripts/verify.sh
T
gamertan a39e8f893c
verify / verify (push) Successful in 3m28s
requestlog: publish collector-readable evidence boundary
Publish the reviewed Gamertan Web Foundations v0.1.0-preview.6 snapshot with a narrow mode-0640 collector boundary, private mode-0600 default, explicit setgid ownership guidance, and native macOS-safe release verification.

Exported from reviewed private source 120d660fa432761f85316ca3dde990e2dd142f19 after trusted Gitea CI run 681 and the complete native Mac verification suite.

Material implementation assistance provided by OpenAI Codex; reviewed and verified through the maintainer workflow.

Signed-off-by: Cole Speelman <crspeelman@gmail.com>
2026-08-24 17:06:47 -04:00

28 lines
959 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-License-Identifier: AGPL-3.0-only
set -euo pipefail
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
cd "$root"
./scripts/check-licenses.sh
./scripts/check-dependencies.sh
./scripts/test-public-snapshot.sh
test -z "$(find . \( -path ./third_party -o -path ./internal/webauthnvendored \) -prune -o -name '*.go' -print0 | xargs -0 gofmt -l)"
go test ./...
go test -race ./...
set +e
vet_output=$(go vet ./... 2>&1)
vet_status=$?
set -e
if test "$vet_status" -ne 0; then
known='internal/webauthnvendored/protocol/webauthncose/webauthncose.go:33:2: struct field _struct has json tag but is not exported'
test "$(grep -Fxc "$known" <<<"$vet_output")" -eq 1
test -z "$(grep -Fvx "$known" <<<"$vet_output")"
elif test -n "$vet_output"; then
printf '%s\n' "$vet_output" >&2
exit 1
fi
build_dir=$(mktemp -d)
trap 'rm -rf "$build_dir"' EXIT
go build -buildvcs=false -trimpath -o "$build_dir/basic" ./starters/basic
git diff --check