Skip to content

Commit

Permalink
Using rye for Python and package management
Browse files Browse the repository at this point in the history
  • Loading branch information
pchakraborty committed Aug 12, 2024
1 parent 6530f49 commit 72887be
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/run-formatter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ jobs:
runs-on: ubuntu-latest
name: Format code
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
cache: 'pip'
- name: Install dependencies
- name: Checkout code
uses: actions/checkout@v4
- name: Set up rye
uses: eifinger/setup-rye@v4
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.lock
timeout-minutes: 5
rye pin 3.9
rye sync
- name: Run black
run: black --check .
timeout-minutes: 5

0 comments on commit 72887be

Please sign in to comment.