Skip to content

Commit

Permalink
Project: Change to rye
Browse files Browse the repository at this point in the history
  • Loading branch information
gutzbenj committed Jul 23, 2024
1 parent c9e4b25 commit 65f1d75
Show file tree
Hide file tree
Showing 4 changed files with 988 additions and 260 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,27 @@ jobs:
- name: Acquire sources
uses: actions/checkout@v4

- name: Install Poetry
run: pipx install poetry

- name: Setup Python
id: python-setup
uses: actions/setup-python@v5
- name: Install Rye
uses: eifinger/setup-rye@v4
with:
python-version: "3.12"
architecture: x64
cache: poetry
cache-dependency-path: |
pyproject.toml
poetry.lock
enable-cache: true

# - name: Setup Python
# id: python-setup
# uses: actions/setup-python@v5
# with:
# python-version: "3.12"
# architecture: x64
# cache: poetry
# cache-dependency-path: |
# pyproject.toml
# requirements.txt

- name: Pin python version
run: rye pin 3.12

- name: Install project tooling
run: poetry install --no-interaction --no-root --with=dev
- name: Install project
run: rye sync

- name: Run code-style checks
run: poetry run poe lint
run: rye run poe lint
Loading

0 comments on commit 65f1d75

Please sign in to comment.