From 6ea4e3c21628f19dc1a16ddb84c69b93c66ba6a9 Mon Sep 17 00:00:00 2001 From: Ramon Wijnands Date: Mon, 15 Jan 2024 09:57:52 +0100 Subject: [PATCH] Update GitHub actions --- .github/workflows/pythonapp.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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