Skip to content

Commit

Permalink
use rye for toolchain management
Browse files Browse the repository at this point in the history
  • Loading branch information
M3t0r committed Aug 13, 2024
1 parent 9e087eb commit 10da378
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,15 @@ jobs:
python-version: '3.x'
experimental: true
- os: ubuntu-latest
python-version: 'pypy-3.9'
python-version: 'pypy@3.10'
experimental: true

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install rye
uses: eifinger/setup-rye@v4
with:
enable-cache: true
- name: Register current Python version
run: rye toolchain register --name '${{ matrix.python-version }}' $(which python3)
- name: Pin current Python version
run: rye pin ${{ matrix.python-version }}
- name: check python
Expand Down

0 comments on commit 10da378

Please sign in to comment.