diff --git a/.github/workflows/license-audit.yml b/.github/workflows/license-audit.yml index 5f0998ea..3e938a25 100644 --- a/.github/workflows/license-audit.yml +++ b/.github/workflows/license-audit.yml @@ -15,7 +15,9 @@ jobs: uses: actions/setup-python@v2 with: # License Finder's Docker image uses Python 3.5 - python-version: 3.5 + python-version: '3.5' + env: + PIP_TRUSTED_HOST: 'pypi.python.org pypi.org files.pythonhosted.org' - name: Fetch decisions.yml run: curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o decisions.yml diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6525b40a..de2824ea 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -14,6 +14,7 @@ jobs: include: - python-version: '3.5' os: 'ubuntu-20.04' + pip-trusted-host: 'pypi.python.org pypi.org files.pythonhosted.org' - python-version: '3.6' os: 'ubuntu-20.04' @@ -24,6 +25,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: ${{ matrix.pip-trusted-host }} - name: Install dependencies run: |