Skip to content

WIP

WIP #552

Workflow file for this run

name: Ruff
on:
push:
paths:
- '**/*.py' # Watch for changes in any Python files
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
workflow_dispatch:
release:
types: [published]
#concurrency:
# group: ci-${{github.workflow}}-${{ github.ref }}
# cancel-in-progress: true
jobs:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['py39']
steps:
- name: Checkout
uses: actions/checkout@v4
# Ruff does not need a specific python version installed
- name: Install dependencies
run: |
python -m pip install -U ruff
- name: Lint with Ruff
run: |
ruff check --target-version ${{ matrix.python-version }} --output-format=github
- name: Check format with Ruff
run: |
ruff format --check