mirror of
https://github.com/project-zot/zot.git
synced 2026-06-19 05:57:57 +08:00
6cd35ae46e
The modcheck target was blocking local development by requiring all go.mod and go.sum changes to be committed before building. This change: - Removes modcheck from build target dependencies (binary, binary-minimal, binary-debug, cli, bench, exporter-minimal) - Keeps modcheck as a standalone target for CI validation - Adds explicit modcheck step to golangci-lint workflow for CI validation - Allows developers to build locally without committing dependency changes - CI still validates that go.mod and go.sum are properly maintained This resolves the issue where developers couldn't build after making code changes that required dependency updates until they committed the go.mod and go.sum changes first. Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>