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.
This commit is contained in:
Francis Couture-Harpin 2024-07-07 10:02:38 -04:00
parent 60c39aca43
commit 872aecbf30

View File

@ -5,14 +5,12 @@ on:
paths: paths:
- '.github/workflows/python-type-check.yml' - '.github/workflows/python-type-check.yml'
- '**.py' - '**.py'
- 'requirements.txt' - '**/requirements*.txt'
- 'requirements/*.txt'
pull_request: pull_request:
paths: paths:
- '.github/workflows/python-type-check.yml' - '.github/workflows/python-type-check.yml'
- '**.py' - '**.py'
- 'requirements.txt' - '**/requirements*.txt'
- 'requirements/*.txt'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
@ -29,7 +27,6 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.11"
cache: pip
- name: Install Python dependencies - name: Install Python dependencies
# TODO: use a venv # TODO: use a venv
run: pip install -r requirements/requirements-all.txt run: pip install -r requirements/requirements-all.txt