From 872aecbf304db74251a55ff006e7c5d430b69c74 Mon Sep 17 00:00:00 2001 From: Francis Couture-Harpin Date: Sun, 7 Jul 2024 10:02:38 -0400 Subject: [PATCH] ci : disable pip cache in type-check workflow The cache is not shared between branches, and it's 250MB in size, so it would become quite a big part of the 10GB cache limit of the repo. --- .github/workflows/python-type-check.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-type-check.yml b/.github/workflows/python-type-check.yml index 2f55ca3b5..a4f6e0005 100644 --- a/.github/workflows/python-type-check.yml +++ b/.github/workflows/python-type-check.yml @@ -5,14 +5,12 @@ on: paths: - '.github/workflows/python-type-check.yml' - '**.py' - - 'requirements.txt' - - 'requirements/*.txt' + - '**/requirements*.txt' pull_request: paths: - '.github/workflows/python-type-check.yml' - '**.py' - - 'requirements.txt' - - 'requirements/*.txt' + - '**/requirements*.txt' concurrency: group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} @@ -29,7 +27,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.11" - cache: pip - name: Install Python dependencies # TODO: use a venv run: pip install -r requirements/requirements-all.txt