diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e1d824..bf32e8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,13 +16,13 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install run: pip install -U -e .[dev] - run: pytest - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 deploy: needs: test name: PyPI Deploy @@ -35,16 +35,14 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.x' - id: dist uses: casperdcl/deploy-pypi@v2 with: build: true - upload: false - - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@release/v1 + upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') name: Release run: |