diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index 8053656..c71d824 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' @@ -36,7 +36,7 @@ jobs: test-docs: name: Test documentation - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: PYTHON_VERSION: '3.x' steps: @@ -60,7 +60,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 @@ -91,7 +91,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