Skip to content

Commit

Permalink
Add Ruff CI check (#3)
Browse files Browse the repository at this point in the history
Adds python style test with ruff to CI
  • Loading branch information
sidjha1 authored Aug 15, 2024
1 parent f20bdc3 commit 11cd8cf
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ruff

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
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 .

0 comments on commit 11cd8cf

Please sign in to comment.