Skip to content

Commit

Permalink
Remove provider-related caches to address cache issues (GoogleCloudPl…
Browse files Browse the repository at this point in the history
…atform#10097)

We keep exceeding the 10GB cache limit for the repo, resulting in workflows stalling for 30min on caching steps and then timing out.
  • Loading branch information
SarahFrench authored Mar 4, 2024
1 parent 49710e1 commit 7d29d87
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/test-tpg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@ jobs:
repository: ${{ github.event.inputs.owner }}/${{ github.event.inputs.repo }}
ref: ${{ github.event.inputs.branch }}
fetch-depth: 2
- name: Cache Go modules and build cache
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-test-${{ github.event.inputs.repo }}-${{hashFiles('go.sum','google-*/transport/**','google-*/tpgresource/**','google-*/acctest/**','google-*/envvar/**','google-*/sweeper/**','google-*/verify/**') }}
restore-keys: |
${{ runner.os }}-test-${{ github.event.inputs.repo }}-${{ hashFiles('go.sum') }}
${{ runner.os }}-test-${{ github.event.inputs.repo }}-
- name: Check for Code Changes
id: pull_request
run: |
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/unit-test-tpg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,6 @@ jobs:
with:
go-version: '^1.20'

- name: Cache Go modules and build cache
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-test-${{ inputs.repo }}-${{hashFiles('go.sum','google-*/transport/**','google-*/tpgresource/**','google-*/acctest/**','google-*/envvar/**','google-*/sweeper/**','google-*/verify/**') }}
restore-keys: |
${{ runner.os }}-test-${{ inputs.repo }}-${{ hashFiles('go.sum') }}
${{ runner.os }}-test-${{ inputs.repo }}-
- name: Build Provider
run: |
go build
Expand Down

0 comments on commit 7d29d87

Please sign in to comment.