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:
parent
60c39aca43
commit
872aecbf30
1 changed files with 2 additions and 5 deletions
7
.github/workflows/python-type-check.yml
vendored
7
.github/workflows/python-type-check.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue