Skip to content

Commit 9ef3f1e

Browse files
committed
NO-JIRA: add go caching to avoid 30s wasted downloading and compiling go helper (#2764)
1 parent cb17ec3 commit 9ef3f1e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build-notebooks-pr-rhel.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
- uses: actions/checkout@v5
5656
if: ${{ github.event_name != 'pull_request_target' }}
5757

58+
- uses: actions/setup-go@v5
59+
with:
60+
cache-dependency-path: "**/*.sum"
61+
5862
- name: Determine targets to build based on changed files
5963
if: ${{ github.event_name == 'pull_request_target' }}
6064
run: |

.github/workflows/build-notebooks-push.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v5
3333

34+
- uses: actions/setup-go@v5
35+
with:
36+
cache-dependency-path: "**/*.sum"
37+
3438
- name: Determine targets to build (we want to build everything on push)
3539
run: |
3640
set -x

0 commit comments

Comments
 (0)