Skip to content

Commit 7a356df

Browse files
authored
ci: skip go mod download on cache hit for 9 jobs (#24319)
1 parent 31fd584 commit 7a356df

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ jobs:
477477
fi
478478
479479
- name: Download dependencies with retry
480+
if: steps.setup-go.outputs.cache-hit != 'true'
480481
run: |
481482
set -e
482483
MAX_RETRIES=3
@@ -631,6 +632,7 @@ jobs:
631632
fi
632633
633634
- name: Download dependencies with retry
635+
if: steps.setup-go.outputs.cache-hit != 'true'
634636
run: |
635637
set -e
636638
MAX_RETRIES=3
@@ -1073,6 +1075,7 @@ jobs:
10731075
fi
10741076
10751077
- name: Download dependencies with retry
1078+
if: steps.setup-go.outputs.cache-hit != 'true'
10761079
run: |
10771080
set -e
10781081
MAX_RETRIES=3
@@ -1321,6 +1324,7 @@ jobs:
13211324
fi
13221325
13231326
- name: Download dependencies with retry
1327+
if: steps.setup-go.outputs.cache-hit != 'true'
13241328
run: |
13251329
set -e
13261330
MAX_RETRIES=3
@@ -1416,6 +1420,7 @@ jobs:
14161420
fi
14171421
14181422
- name: Download dependencies with retry
1423+
if: steps.setup-go.outputs.cache-hit != 'true'
14191424
run: |
14201425
set -e
14211426
MAX_RETRIES=3
@@ -1630,6 +1635,7 @@ jobs:
16301635
fi
16311636
16321637
- name: Download dependencies with retry
1638+
if: steps.setup-go.outputs.cache-hit != 'true'
16331639
run: |
16341640
set -e
16351641
MAX_RETRIES=3
@@ -1699,6 +1705,7 @@ jobs:
16991705
fi
17001706
17011707
- name: Download dependencies with retry
1708+
if: steps.setup-go.outputs.cache-hit != 'true'
17021709
run: |
17031710
set -e
17041711
MAX_RETRIES=3
@@ -2092,6 +2099,7 @@ jobs:
20922099
fi
20932100
20942101
- name: Download dependencies with retry
2102+
if: steps.setup-go.outputs.cache-hit != 'true'
20952103
shell: bash
20962104
run: |
20972105
set -e
@@ -2214,6 +2222,7 @@ jobs:
22142222
fi
22152223
22162224
- name: Download dependencies with retry
2225+
if: steps.setup-go.outputs.cache-hit != 'true'
22172226
run: |
22182227
set -e
22192228
MAX_RETRIES=3

0 commit comments

Comments
 (0)