Some small gotcha with snippets #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruff | |
on: | |
push: | |
branches: | |
- main | |
- 'stable/**' | |
pull_request: | |
branches: [main] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# keep in sync with .pre-commit-config.yaml | |
- run: python -Im pip install --user ruff==0.6.4 | |
- name: Run ruff | |
working-directory: . | |
run: ruff check --output-format=github wagtail_localize |