Skip to content

Update ruff CI

Update ruff CI #3

Workflow file for this run

name: ruff
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ruff_lint:
name: Ruff Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.5.2
- name: Run ruff
run: ruff check .