diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 7e5749e..e3df53a 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -8,21 +8,20 @@ jobs: strategy: matrix: python-version: - - 2.7 - - 3.5 - - 3.6 + - '3.8' + - '3.10' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: 'Set up Python ${{ matrix.python-version }}' - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '${{ matrix.python-version }}' - name: 'Install dependencies' run: "python -m pip install --upgrade pip\npip install tox tox-gh-actions\n" - name: 'Test with tox' run: tox - - uses: casperdcl/deploy-pypi@v1 + - uses: casperdcl/deploy-pypi@v2 if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.python-version == '2.7' with: password: ${{ secrets.pypi_token }} - build: true \ No newline at end of file + build: true