From e606ae5097b2a5ad4bd81f0758f7821804d6cce3 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Sun, 10 Jan 2021 00:28:33 +0100 Subject: [PATCH] try new python setup action --- .github/workflows/ci.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78e1eec42..7af141cd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,17 +35,13 @@ jobs: strategy: matrix: os: [ ubuntu-20.04 ] - python: # pyenv-action requires the exact version - - 3.6.8 - - 3.7.9 - - 3.8.6 + python-version: ['3.6', '3.7', '3.8'] steps: - uses: actions/checkout@v2 - - name: Install python version - uses: gabrielfalcao/pyenv-action@v7 + - name: Set up Python + uses: actions/setup-python@v2 with: - default: "${{ matrix.python }}" - command: "pip install -U pip" + default: "${{ matrix.python-version }}" - name: Get pip cache dir id: pip-cache run: |