Skip to content

Commit

Permalink
[chore]remove caching when setting up go (open-telemetry#21795)
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored May 11, 2023
1 parent dceca3c commit 08d3fb9
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ~1.19.8
cache: false
- name: Cache Go
id: go-mod-cache
uses: actions/cache@v3
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -78,6 +79,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -137,6 +139,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ~1.19.9
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand All @@ -158,6 +161,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -229,6 +233,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 @@ -278,6 +283,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand All @@ -297,6 +303,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand All @@ -321,6 +328,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -379,6 +387,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -509,6 +518,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Mkdir bin and dist
run: |
mkdir bin/ dist/
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ~1.19.8
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ~1.19.8
cache: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/create-dependabot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ~1.19.8
cache: false
- name: Run dependabot-pr.sh
run: ./.github/workflows/scripts/dependabot-pr.sh
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down Expand Up @@ -64,6 +65,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ~1.19.8
cache: false
- name: Prepare release for contrib
working-directory: opentelemetry-collector-contrib
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prometheus-compliance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ~1.19.8
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@v3
Expand Down

0 comments on commit 08d3fb9

Please sign in to comment.