Hugo (Go) module 'SECURITY ERROR' (checksums not matching)

Running git lfs install in my build scripts resolves the issue

cmd/go: checksum mismatch for module containing Git LFS files · Issue #41708 · golang/go (github.com) is what was causing the problem.