-
Notifications
You must be signed in to change notification settings - Fork 101
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
Set cache option on setup-go action in workflows #8280
base: main
Are you sure you want to change the base?
Changes from 2 commits
127b30b
8c2a076
6496f73
106e56c
a2fdb09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,7 @@ jobs: | |
with: | ||
go-version: ${{ env.GOVER }} | ||
cache-dependency-path: go.sum | ||
cache: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is true by default and does not need to be set explicitly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When this wasn't added, which means that it was true, we were getting the same error. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added some information here: #8147. Maybe you can find the missing link. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes you are right: setting
This workflow wasn't having an error, but the
I think that PR made sense where we did caching with the However, one caveat on what I said above, after PR #8280 we are still seeing caching errors with the What do you think about this plan?
I really appreciate your feedback on this - I know you have a lot of knowledge in this area having spent significant cycles on it. ❤️ |
||
- name: Parse release version and set environment variables | ||
run: python ./.github/scripts/get_release_version.py | ||
- name: Make build | ||
|
@@ -179,6 +180,7 @@ jobs: | |
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GOVER }} | ||
cache: true | ||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
|
@@ -275,6 +277,7 @@ jobs: | |
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GOVER }} | ||
cache: true | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not being used anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not find any references to this action in the
radius-project
GitHub org.