diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index cc1abe9..9d90565 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -18,15 +18,21 @@ jobs: strategy: matrix: python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - os: [ windows-latest, macos-latest, ubuntu-20.04 ] + os: [ windows-latest, macos-13, ubuntu-20.04 ] + exclude: + - os: windows-latest + python-version: "2.7" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '2.7' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org" - name: Set up Python 2.7 if: matrix.python-version == '2.7' @@ -57,10 +63,10 @@ jobs: if: startsWith(github.ref, 'refs/tags') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x'