GOPRIVATE switches off the module proxy AND checksum verification together.
Covering github.com/luxfi/* meant every luxfi module was fetched straight from
git and trusted without verification — which is how moved tags got captured into
module caches and served from them indefinitely, making the same commit build on
one machine and fail on another.
Nearly all of luxfi is public and on proxy.golang.org, so it belongs under
normal verification. The private org is lux-private. Twelve luxfi repos are
still private AND still 404 on the proxy; where a repo depends on one it is
listed by name rather than by wildcard, so the exemption matches what actually
needs a direct fetch.
Co-authored-by: Hanzo Dev <[email protected]>
- Fix SC2125: Quote GOPRIVATE/GONOSUMDB values in ci_setup.sh
- Fix SC1091: Add source=/dev/null for dynamically sourced lib_luxd_clone.sh
- Fix unbound variable errors in shellcheck.sh for arrays and args
- Add -x flag to shellcheck for following sourced files
- Set GOPRIVATE and GONOSUMDB for github.com/luxfi/* packages
- Configure git credentials with GITHUB_TOKEN
- Remove duplicate go mod download step from test job
- CI setup was running go mod tidy which reverted to v1.16.15
- Now explicitly pin to v1.13.5 before running go mod tidy
- This ensures the correct version is used for Install Lux Release
- Move ci_setup.sh to root directory where CI expects it
- Use portable sed syntax for both Linux and macOS
- Always remove local replace directives in CI environment
- Delete replace directives instead of commenting them out
- Inline CI setup commands for better cross-platform compatibility
- Fix macOS CI setup issues (no external scripts)
- Improve install_luxd_release.sh with better error handling
- Use sed directly in workflow for replace directives
- All CI jobs should now pass cleanly
- Fix lint script sorting issue with LC_ALL=C locale
- Remove pebbledb direct dependency (use string constant)
- Add ci_setup.sh script to handle local replace directives
- Update CI workflow to use ci_setup.sh
- Add comprehensive CI_BUILD_GUIDE.md documentation
The go.mod replace directives pointing to local directories now work
for both local development and CI environments.