diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index dbb977e..b195f7b 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -10,7 +10,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, macos-10.15] + os: [ubuntu-latest, macos-latest] python-version: - '3.7' - '3.8' @@ -37,7 +37,7 @@ jobs: test-docs: name: Test documentation - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: PYTHON_VERSION: 3.8 steps: @@ -61,7 +61,7 @@ jobs: publish-to-test-pypi: name: Publish to TestPyPI environment: staging - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' && github.event_name == 'push' needs: - test-code @@ -92,7 +92,7 @@ jobs: publish-to-pypi: name: Publish to PyPI environment: production - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' && github.event_name == 'push' needs: publish-to-test-pypi