try new python setup action

This commit is contained in:
jonaswinkler 2021-01-10 00:28:33 +01:00
parent ecc40d022d
commit e606ae5097

View File

@ -35,17 +35,13 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ ubuntu-20.04 ] os: [ ubuntu-20.04 ]
python: # pyenv-action requires the exact version python-version: ['3.6', '3.7', '3.8']
- 3.6.8
- 3.7.9
- 3.8.6
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install python version - name: Set up Python
uses: gabrielfalcao/pyenv-action@v7 uses: actions/setup-python@v2
with: with:
default: "${{ matrix.python }}" default: "${{ matrix.python-version }}"
command: "pip install -U pip"
- name: Get pip cache dir - name: Get pip cache dir
id: pip-cache id: pip-cache
run: | run: |