diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ef8e21ab9da..9ae4735389d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,6 +22,11 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - uses: actions/cache@v1.1.2 + id: cache-reqs + with: + path: ~/.cache/pip + key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('pip-dep/requirements*.txt') }} - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/translated-tutorials.yml b/.github/workflows/translated-tutorials.yml index eba89d2171a..7ccc1fe3140 100644 --- a/.github/workflows/translated-tutorials.yml +++ b/.github/workflows/translated-tutorials.yml @@ -28,6 +28,11 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - uses: actions/cache@v1.1.2 + id: cache-reqs + with: + path: ~/.cache/pip + key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('pip-dep/requirements*.txt') }} - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/tutorials.yml b/.github/workflows/tutorials.yml index 9367acbd124..02f00d1af9b 100644 --- a/.github/workflows/tutorials.yml +++ b/.github/workflows/tutorials.yml @@ -27,6 +27,11 @@ jobs: uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - uses: actions/cache@v1.1.2 + id: cache-reqs + with: + path: ~/.cache/pip + key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('pip-dep/requirements*.txt') }} - name: Install dependencies run: | sudo apt-get update