From fe4b35cd411adf3b95a20b63822e1154c3c6e0ef Mon Sep 17 00:00:00 2001 From: Shuya Ma <87669292+shuyama1@users.noreply.github.com> Date: Fri, 5 Apr 2024 15:04:14 -0700 Subject: [PATCH] remove caches in tgc checks (#10373) --- .github/workflows/test-tgc.yml | 9 --------- .github/workflows/unit-test-tgc.yml | 10 ---------- 2 files changed, 19 deletions(-) diff --git a/.github/workflows/test-tgc.yml b/.github/workflows/test-tgc.yml index 0b04641cbfd3..ab69a8459bc4 100644 --- a/.github/workflows/test-tgc.yml +++ b/.github/workflows/test-tgc.yml @@ -58,15 +58,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@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 - with: - path: | - ~/go/pkg/mod - key: ${{ runner.os }}-test-${{ github.event.inputs.repo }}-${{ hashFiles('go.sum') }} - 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: | diff --git a/.github/workflows/unit-test-tgc.yml b/.github/workflows/unit-test-tgc.yml index 51bbfaee3193..1a0d48b67d2c 100644 --- a/.github/workflows/unit-test-tgc.yml +++ b/.github/workflows/unit-test-tgc.yml @@ -32,16 +32,6 @@ jobs: with: go-version: '^1.21' - - name: Cache Go modules and build cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 - with: - path: | - ~/go/pkg/mod - key: ${{ runner.os }}-test-terraform-google-conversion-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-test-terraform-google-conversion-${{ hashFiles('**/go.sum') }} - ${{ runner.os }}-test-terraform-google-conversion- - - name: Build Terraform Google Conversion run: | cd tgc