feat: split Dockerfile into dedicated lint stage #43
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/mfer#43
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/41-split-dockerfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add a dedicated lint stage using the pre-built
golangci/golangci-lint:v1.64.8image for fast lint feedback, separate from the build stage.Changes
golangci/golangci-lint:v1.64.8(pinned by sha256) with protobuf-compiler installed for code generation, then runsmake lintsneak/builder:2022-12-08by sha256 (d61175...), removes inlinegolangci-lint run(now in lint stage)FROM scratchwith binary and source archiveCOPY --from=lint /src/go.sum /dev/nullcreates BuildKit stage dependency to ensure lint always runsCloses #41
Closing — the referenced issue #42 was already closed.
Pull request closed