Update workflow.

This commit is contained in:
Jannis Leidel 2023-05-02 10:44:32 +02:00
parent 8236587c8c
commit be2e7656b8
No known key found for this signature in database
GPG key ID: C795956FB489DCA9

View file

@ -18,23 +18,10 @@ jobs:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key:
${{ matrix.python-version }}-v1-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ matrix.python-version }}-v1-
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |