Automatic downsizing of larger-than-necessary images (#32) #234
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.5.0 | |
- name: Run ruff | |
working-directory: ./src | |
run: ruff check --output-format=github wagtail_bynder |