Skip to content

Add reproducible module tooling and GitHub Actions - #8

Merged
laodouya merged 3 commits into
masterfrom
deps/module-tooling
Nov 6, 2026
Merged

laodouya merged 3 commits into
masterfrom
deps/module-tooling

Conversation

@laodouya

@laodouya laodouya commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

The repository has no module manifest, and its Travis configuration depends on inactive CI and obsolete coverage-tool installations. Current Go module-mode commands cannot start on master.

Add a dependency-free Go 1.11 module and pin the goyacc revision that reproduces the committed sql.go byte for byte. Replace Travis with build, regeneration-diff, vet, and test checks in GitHub Actions; parser behavior is unchanged. The module builds with Go 1.11+; regeneration requires Go 1.17+.

Testing

linux/amd64, Docker, 4 CPUs. Go 1.16.15 rejects versioned generation, Go 1.17.13 regenerates identically, and Go 1.11.13 builds the module. make -B sql.go && git diff --exit-code -- sql.go passes with goyacc v0.0.0-20180926032708-9eb9690e392a. After merging master, the Go 1.27.3 build, regeneration check, vet, and all 85 tests pass. CovenantSQL develop and a branch replacement both pass go build -tags 'linux sqlite_omit_load_extension sqlite_omit_localtime' ./... and go test -json -count=1 -tags 'linux sqlite_omit_load_extension sqlite_omit_localtime' ./xenomint/....

Declare the self-contained module without raising its language baseline
beyond Go 1.11. Pin the generator that reproduces sql.go byte for byte.
Replace the inactive Travis configuration and obsolete coverage tool
installations with build, regeneration, vet, and test checks.
The module builds with Go 1.11, but versioned go run requires Go 1.17.
Document the consumer and generator requirements separately without
raising the module language version.
@laodouya
laodouya merged commit 9d191a6 into master Nov 6, 2026
2 checks passed
@laodouya
laodouya deleted the deps/module-tooling branch November 6, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant