From 8e621138e9644106b7e4326c82ae43efd507048f Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Thu, 21 Mar 2024 18:28:27 -0400 Subject: [PATCH] Update CI to always use python3.10 for metaenv --- .github/scripts/setup-env.sh | 2 +- .github/workflows/ci.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/scripts/setup-env.sh b/.github/scripts/setup-env.sh index 8b5b445..7d11f22 100755 --- a/.github/scripts/setup-env.sh +++ b/.github/scripts/setup-env.sh @@ -15,7 +15,7 @@ INSTALL_POETRY_VERSION="${POETRY_VERSION:-1.3.2}"; mkdir --parents "$CI_CACHE"; command -v python; -python --version; +python3.10 --version; curl --location https://install.python-poetry.org \ --output "$CI_CACHE/install-poetry.py" \ diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 21ffb3b..d2528ae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,6 +29,11 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Install Python 3.10 + uses: actions/setup-python@v4 + with: + python-version: "3.10" + - name: Install Python ${{ matrix.python.version }} uses: actions/setup-python@v4 with: