Skip to content

workflow: update ruff workflow #206

workflow: update ruff workflow

workflow: update ruff workflow #206

Workflow file for this run

name: Ruff Checks (lint/format)
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint Check
run: |
ruff check .
- name: Format Check
run: |
ruff format --check .