Skip to content

Support reproducible builds when using module plugin system #5961

@pimlie

Description

@pimlie

Welcome

How did you install golangci-lint?

Docker

Your feature request related to a problem? Please describe

When creating a custom golangci-lint build multiple times in a row then the sha256 checksum of the produced binary seems to be different for every build. Even though none of the local config/plugin files changed in between.

This f.e. means that Git considers the binary to be changed after every build.

Describe the solution you'd like

It would be great if custom builds are reproducible, i.e. same input always create same binary output hash.

Describe alternatives you've considered

Don't know of any possible workarounds?

Additional context

Note that using the Module Plugin System is explicitly recommended, hence why Im using this and not the Go Plugin System

Supporter

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions