Skip to content

Commit

Permalink
Pin rye python version in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moshi4 committed Jul 13, 2024
1 parent 717b498 commit 1feb21d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version}}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# - name: Setup Python ${{ matrix.python-version}}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}

- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
echo "$HOME/.rye/shims" >> $GITHUB_PATH
- name: Install python dependencies
run: rye sync --update-all --all-features
run: |
rye pin ${{ matrix.python-version }}
rye sync --update-all --all-features
- name: Install external tool dependencies
run: |
Expand Down

0 comments on commit 1feb21d

Please sign in to comment.