Skip to content

Commit

Permalink
Add a separate ruff GHA for inline hints
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Feb 15, 2024
1 parent ae9c9c8 commit 93f0537
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Ruff

on:
push:
branches:
- main
- 'stable/**'
pull_request:
branches: [main]

jobs:
ruff:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- run: python -Im pip install --user ruff

- name: Run ruff
working-directory: ./src
run: ruff --output-format=github wagtail_headless_preview

0 comments on commit 93f0537

Please sign in to comment.