* YOYO NEW API SPEC! * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Jess Frazelle <github@jessfraz.com>
39 lines
792 B
YAML
39 lines
792 B
YAML
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@v5
|
|
|
|
# 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 --output-format=github .
|