The require blocks were unchanged from the base manifest even though newer
releases are available for most modules. Pin every module to the newest
release observed on proxy.golang.org, add the checksums published by
sum.golang.org, and add the transitive modules the upgraded graph now needs
(bitset, clipperhouse/displaywidth, clipperhouse/stringish,
clipperhouse/uax29/v2, go.yaml.in/yaml/v3). charmbracelet/huh is a direct
import and is recorded as such.
Rewrite scripts/check-deps.sh so it never treats the local module cache as
evidence of what the newest release is. It uses `go list -m -u` when the proxy
is reachable and otherwise compares every go.mod pin with the dependency facts
prepared by the execution profile, validating the report source, freshness
status and query scope. If neither source is available it exits with status 2
instead of reporting success.
Add scripts/test-check-deps.sh, which covers stale, uncovered and unverifiable
pins without network access, and scripts/test-ci-workflow.sh, which checks that
the single Gitea Actions job still runs on pull requests and invokes the checks.
Both run from scripts/check.sh, so one pass verifies formatting, vet, build,
tests, the CI workflow and dependency freshness.
`go build ./...`, `go vet ./...`, `go test -cover ./...`, `go mod verify` and the
new scripts all pass in the sandbox.
Bump the go directive and mise tool pin to Go 1.27.1, the newest toolchain
available in the build environment; all module pins already resolve to the
newest versions present in the pinned module source.
Add scripts/check-deps.sh, which fails when go.mod pins an old module. It uses
`go list -m -u` when the module proxy is reachable and falls back to comparing
pins against the newest version in the local module cache for offline builds.
Expose it as the `mise run deps` task and document it.
Add .gitea/workflows/ci.yml, which runs on every pull request and every push to
main and invokes scripts/check.sh (gofmt, go mod verify, go vet, go build,
go test -cover). Also cover the Gitea client token/slug handling with unit
tests and document the CI workflow.
Add the mise check task so the CI checks can be run locally.