Skip to content

Commit

Permalink
[chore] give go cache download 5 minutes timeout (open-telemetry#24178)
Browse files Browse the repository at this point in the history
See
https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/5514105058/jobs/10053104650

When the go caching action takes more than 5 minutes, it is likely to
stall indefinitely. Better to timeout early.
  • Loading branch information
atoulme authored Jul 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7f36419 commit 6bc44a8
Showing 7 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
@@ -47,6 +47,7 @@ jobs:
cache: false
- name: Cache Go
id: go-mod-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
10 changes: 10 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -82,6 +83,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -142,6 +144,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -164,6 +167,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -236,6 +240,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -312,6 +317,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -332,6 +338,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -357,6 +364,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -420,6 +428,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -554,6 +563,7 @@ jobs:
mkdir bin/ dist/
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
1 change: 1 addition & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
2 changes: 2 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -56,6 +57,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
2 changes: 2 additions & 0 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
@@ -68,6 +69,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
1 change: 1 addition & 0 deletions .github/workflows/prometheus-compliance-tests.yml
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |
1 change: 1 addition & 0 deletions .github/workflows/tidy-dependencies.yml
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ jobs:
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@v3
with:
path: |

0 comments on commit 6bc44a8

Please sign in to comment.