Skip to content

Create ADR for integrating cache functionality to setup-go action#217

Merged
dmitry-shibanov merged 7 commits intoactions:mainfrom
dmitry-shibanov:v-dmshib/add-adr-caching
Apr 26, 2022
Merged

Create ADR for integrating cache functionality to setup-go action#217
dmitry-shibanov merged 7 commits intoactions:mainfrom
dmitry-shibanov:v-dmshib/add-adr-caching

Conversation

@dmitry-shibanov
Copy link
Copy Markdown
Contributor

Prepare an ADR for support caching in setup-go.

@dmitry-shibanov dmitry-shibanov requested a review from a team April 13, 2022 13:17
with:
go-version: '18'
cache: true
cache-dependency-path: **/go.sum
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What happens if you set cache-dependency-path without setting cache? Does it imply cache? I suppose there's precedent here from the other setup- actions, but just wanted to clarify here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The cache-dependency-path input only works with enabled cache. The cache-dependency-path will override file from which cache is generated.

@tisba
Copy link
Copy Markdown

tisba commented Apr 14, 2022

for reference, see #130

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.

6 participants