CI: fix deprecation warning

This commit is contained in:
Dulmandakh 2024-05-20 08:06:36 +08:00
parent 221afaf4c4
commit 38f3e55403

View File

@ -42,14 +42,12 @@ jobs:
- name: get pip cache dir - name: get pip cache dir
id: pip-cache id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)" run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: cache pip dependencies - name: cache pip dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ${{ steps.pip-cache.outputs.dir }} path: ${{ steps.pip-cache.outputs.dir }}
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }} key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}
- run: pip install tox - run: pip install tox
- run: tox -e ${{ matrix.tox }} - run: tox -e ${{ matrix.tox }}
- name: Upload coverage.xml - name: Upload coverage.xml