Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(Earthfile): reuse sources stage and optimize build process #498

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

flemzord
Copy link
Member

Use +sources stage in multiple targets for consistency and efficiency. Add go mod download step to sources stage to reduce redundancy. Remove redundant COPY commands to streamline stages.

Use +sources stage in multiple targets for consistency and efficiency.
Add go mod download step to sources stage to reduce redundancy.
Remove redundant COPY commands to streamline stages.
@flemzord flemzord requested a review from a team as a code owner September 26, 2024 14:57
Earthfile Outdated
WORKDIR /src
COPY go.mod go.sum .
COPY go.mod go.sum ./
COPY go.mod go.sum /src/pkg/client/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong go.mod?

@gfyrag gfyrag merged commit 9123016 into feat/ledger-stateless Sep 26, 2024
3 checks passed
@gfyrag gfyrag deleted the feat/improve-ci branch September 26, 2024 15:16
gfyrag pushed a commit that referenced this pull request Oct 16, 2024
…498)

* refactor(Earthfile): reuse sources stage and optimize build process

Use +sources stage in multiple targets for consistency and efficiency.
Add go mod download step to sources stage to reduce redundancy.
Remove redundant COPY commands to streamline stages.

* chore: rework sources step
gfyrag pushed a commit that referenced this pull request Oct 23, 2024
…498)

* refactor(Earthfile): reuse sources stage and optimize build process

Use +sources stage in multiple targets for consistency and efficiency.
Add go mod download step to sources stage to reduce redundancy.
Remove redundant COPY commands to streamline stages.

* chore: rework sources step
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants