Skip to content

Trying to get rye working #110

Trying to get rye working

Trying to get rye working #110

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: 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