Bump ruff from 0.0.286 to 0.0.291 #149
Workflow file for this run
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 | |
paths: | |
- '**.py' | |
- .github/workflows/ruff.yml | |
- 'pyproject.toml' | |
pull_request: | |
paths: | |
- '**.py' | |
- .github/workflows/ruff.yml | |
- 'pyproject.toml' | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
# Installation instructions are from: https://python-poetry.org/docs/ | |
- name: Install dependencies | |
shell: bash | |
run: | | |
pip install \ | |
poetry | |
- name: Build | |
shell: bash | |
run: | | |
poetry install | |
poetry build | |
- name: Run ruff | |
shell: bash | |
run: | | |
poetry run ruff check --format=github . |