diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1b8650652..b7b2a02e5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,19 +28,8 @@ jobs: fetch-depth: 0 persist-credentials: false - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.7" - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install --upgrade build tox - - - name: Build package - run: | - python -m build + - name: Build and Check Package + uses: hynek/build-and-inspect-python-package@v1.5 - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1