CI: fix deprecation warning (#1551)

This commit is contained in:
Dulmandakh 2024-06-13 22:32:50 +08:00 committed by GitHub
parent 221afaf4c4
commit 44dcdad182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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