You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing against non versioned instances of Digger (branch, ref, tag) since the build and run happen in the same step golang dependencies are not cached, if there is an error.
Expected Behavior
External dependencies will cache even if the run fails. This makes subsequent runs testing specific feature faster build times.
Proposal
Download external go modules before build on cache-miss
Cache modules
Do build and run as normal.
The text was updated successfully, but these errors were encountered:
@ben-of-codecraft Problem:
When running tests on non-versioned instances of Digger (such as using branches, refs, or tags), Go dependencies are not cached if the build fails, causing delays in future builds.
Expected Behavior: Even if the build/run fails, Go module dependencies should be cached for faster subsequent builds.
Proposal: Modify the build process to ensure Go modules are downloaded and cached before the build starts.
Example for GitHub Actions (.github/workflows/main.yml):
steps:
Feature
When testing against non versioned instances of Digger (branch, ref, tag) since the build and run happen in the same step golang dependencies are not cached, if there is an error.
Expected Behavior
Proposal
The text was updated successfully, but these errors were encountered: