Merge pull request #100 from felix-seifert/release-on-pypi #68
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: Lint with Ruff | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- '*.md' | |
- '*.png' | |
- '*.svg' | |
- '.gitignore' | |
- 'images/**' | |
pull_request: | |
types: [opened, reopened, synchronize] | |
paths-ignore: | |
- '*.md' | |
- '*.png' | |
- '*.svg' | |
- '.gitignore' | |
- 'images/**' | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github | |
src | |
pyproject.toml | |
requirements.txt | |
- name: Lint with `ruff check .` | |
uses: chartboost/ruff-action@v1 |