From 5c4ca79888c44a17f3986f4114162d6ec4cf1b51 Mon Sep 17 00:00:00 2001
From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
Date: Wed, 23 Feb 2022 15:59:43 +0000
Subject: [PATCH] Remove use of explicit pip cache.

We use setup-python to install the python we use, which has inbuilt
caching of python dependencies.

https://github.com/actions/setup-python#caching-packages-dependencies
---
 .github/workflows/integration_tests.yml          |  8 --------
 .github/workflows/sanity_test.yml                |  8 --------
 .github/workflows/sync-from-external-sources.yml | 16 ----------------
 3 files changed, 32 deletions(-)

diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml
index 0ff172e913..7b221fcc21 100644
--- a/.github/workflows/integration_tests.yml
+++ b/.github/workflows/integration_tests.yml
@@ -65,14 +65,6 @@ jobs:
         uses: actions/setup-python@v2
         with:
           python-version: 3.8
-      - name: Cache pip
-        uses: actions/cache@v2
-        with:
-          path: ~/.cache/pip
-          key: ${{ runner.os }}-pip
-          restore-keys: |
-            ${{ runner.os }}-pip-
-            ${{ runner.os }}-
       - uses: actions/cache@v2
         with:
           path: |
diff --git a/.github/workflows/sanity_test.yml b/.github/workflows/sanity_test.yml
index d11fb54e60..6154f88674 100644
--- a/.github/workflows/sanity_test.yml
+++ b/.github/workflows/sanity_test.yml
@@ -27,14 +27,6 @@ jobs:
         uses: actions/setup-python@v2
         with:
           python-version: 3.8
-      - name: Cache pip
-        uses: actions/cache@v2
-        with:
-          path: ~/.cache/pip
-          key: ${{ runner.os }}-pip
-          restore-keys: |
-            ${{ runner.os }}-pip-
-            ${{ runner.os }}-
       - uses: actions/cache@v2
         with:
           path: |
diff --git a/.github/workflows/sync-from-external-sources.yml b/.github/workflows/sync-from-external-sources.yml
index 5a5d8152ff..a890082575 100644
--- a/.github/workflows/sync-from-external-sources.yml
+++ b/.github/workflows/sync-from-external-sources.yml
@@ -15,14 +15,6 @@ jobs:
         uses: actions/setup-python@v2
         with:
           python-version: 3.8
-      - name: Cache pip
-        uses: actions/cache@v2
-        with:
-          path: ~/.cache/pip
-          key: ${{ runner.os }}-pip
-          restore-keys: |
-            ${{ runner.os }}-pip-
-            ${{ runner.os }}-
       - name: Install Prerequisite dependencies
         run: |
           pip install BeautifulSoup4
@@ -49,14 +41,6 @@ jobs:
         uses: actions/setup-python@v2
         with:
           python-version: 3.8
-      - name: Cache pip
-        uses: actions/cache@v2
-        with:
-          path: ~/.cache/pip
-          key: ${{ runner.os }}-pip
-          restore-keys: |
-            ${{ runner.os }}-pip-
-            ${{ runner.os }}-
       - name: Install Prerequisite dependencies
         run: |
           pip install requests