Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Jul 12, 2024
1 parent f1c8dd1 commit a41da1b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/backend_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: black
uses: psf/black@stable
- name: Setup Python
uses: actions/setup-python@v5
with:
src: "./server"
python-version: "3.11"

- name: ruff
uses: chartboost/ruff-action@v1
with:
src: "./server"
- name: Install dependencies
run: python3 -m pip install "server/.[dev]"

- name: Check style
run: python3 -m ruff check server/ && python3 -m ruff format --check server/

0 comments on commit a41da1b

Please sign in to comment.