mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Use internal caching for dependencies
This commit is contained in:
parent
d2ac20bd6a
commit
12b4532751
1 changed files with 1 additions and 9 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
|
||||
uses: actions/setup-python@v4
|
||||
|
|
@ -67,15 +67,7 @@ jobs:
|
|||
cache: "pip"
|
||||
cache-dependency-path: pyproject.toml
|
||||
|
||||
- name: Load cached venv
|
||||
id: cached-pip-dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ env.pythonLocation }}
|
||||
key: ${{ matrix.os }}-python-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ secrets.CACHE_VERSION }}
|
||||
|
||||
- name: Install project dependencies
|
||||
if: steps.cached-pip-dependencies.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
pip install -e .[dev,test,redis,proxy,i18n,fast]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue