From 1c926b91f223b15fd95614fd4449cd77ec029aab Mon Sep 17 00:00:00 2001 From: maxkahan Date: Thu, 1 Feb 2024 01:46:53 +0000 Subject: [PATCH] running pants with single python version --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7422d819..ff726447 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,7 @@ jobs: fail-fast: false matrix: python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + pants_python_version: [3.11] os: ["ubuntu-latest"] steps: - name: Clone repo @@ -33,7 +34,7 @@ jobs: - name: Initialize Pants uses: pantsbuild/actions/init-pants@main with: - gha-cache-key: cache0-py${{ matrix.python_version }} + gha-cache-key: cache0-py${{ matrix.pants_python_version }} named-caches-hash: ${{ hashFiles('requirements.txt') }} - name: Check BUILD files run: |