Skip to content

Trying to get rye working #111

Trying to get rye working

Trying to get rye working #111

Workflow file for this run

name: Run formatter
on: [push]
jobs:
format:
runs-on: ubuntu-latest
name: Format code
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rye
uses: eifinger/setup-rye@v4
with:
enable-cache: true
- name: Sync dependencies
run: rye sync
- name: Run black
run: |
source .venv/bin/activate
black --check .
timeout-minutes: 5
# uses: eifinger/setup-rye@v4
# run: |
# rye pin 3.9
# rye sync
# timeout-minutes: 5
# - name: Run black
# run: black --check .
# timeout-minutes: 5