From 372cd3cd6843cb0e4b5fc1ba9e097a3a78aea09c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Mon, 8 Mar 2021 11:39:14 +0100 Subject: [PATCH] CI caching --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b8eafbf..2a73a052 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,10 +6,7 @@ on: - master - dev pull_request: - types: [opened, reopened] - branches: - - master - - dev + types: [opened, synchronize, reopened] jobs: test: @@ -21,6 +18,10 @@ jobs: steps: - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: