Skip to content

Commit

Permalink
[chore] fix double caching of golang dependencies (#8680)
Browse files Browse the repository at this point in the history
Avoid double caching go dependencies, it ends up slowing the build with
decompression errors.
  • Loading branch information
atoulme committed Oct 13, 2023
1 parent 35cee30 commit 35512c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-test-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Cache Go
uses: actions/cache@v3
env:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand All @@ -42,6 +43,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand All @@ -65,6 +67,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand All @@ -89,6 +92,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -143,6 +147,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -185,6 +190,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.6
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -252,6 +258,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.20.10
cache: false
- name: Run Contrib Tests
run: |
contrib_path=/tmp/opentelemetry-collector-contrib
Expand Down

0 comments on commit 35512c4

Please sign in to comment.