Skip to content

Commit

Permalink
Fix setup-python installation error with 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
imjoehaines committed May 20, 2024
1 parent c0efcc0 commit 8298d17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/license-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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: |
Expand Down

0 comments on commit 8298d17

Please sign in to comment.