Skip to content

fail if ruff (check or format) finds a difference #108

fail if ruff (check or format) finds a difference

fail if ruff (check or format) finds a difference #108

Workflow file for this run

name: ruff
on:
workflow_dispatch:
pull_request:
branches:
- main
- release/*
- main-v2
- v2m*
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Requirements
run: |
python -m pip install --upgrade pip
python -m pip install isort
python -m pip install ruff
- name: ruff
run: ruff check