From 0ab6f3da762e1b25f42e78c0aa1041a738ee378b Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 17 Apr 2024 17:32:31 +0100 Subject: [PATCH] Try setup-python on arm runners --- .github/actions/create-dev-env/action.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/actions/create-dev-env/action.yml b/.github/actions/create-dev-env/action.yml index 85c46980..e2b99b33 100644 --- a/.github/actions/create-dev-env/action.yml +++ b/.github/actions/create-dev-env/action.yml @@ -11,17 +11,14 @@ inputs: runs: using: composite steps: - # actions/setup-python doesn't support Linux arm64 runners - # See: https://github.com/actions/setup-python/issues/108 - # python3 is manually preinstalled in the arm64 VM self-hosted runner - name: Set Up Python 🐍 - if: ${{ inputs.architecture == 'amd64' }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 + cache: pip + cache-dependency-path: | + **/requirements*.txt - - name: Install Dev Dependencies 📦 - run: | - pip install --upgrade pip - pip install --upgrade -r requirements-dev.txt - shell: bash + - name: Install dependencies 📦 + run: pip install -r requirements-dev.txt + shell: bash -e {0}