Skip to content

Commit

Permalink
running pants with single python version
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkahan committed Feb 1, 2024
1 parent edf87d4 commit 1c926b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 1c926b9

Please sign in to comment.