From 4727c9530a48f1c196863a1d127f29891674bbba Mon Sep 17 00:00:00 2001 From: Samarth Bhatia Date: Sun, 31 Mar 2024 13:38:24 +0530 Subject: [PATCH] Create ruff.yml --- .github/workflows/ruff.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/ruff.yml diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..7a83655 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,12 @@ +name: Ruff +on: [push, pull_request] +jobs: + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: ruff + run: | + pip install ruff + ruff format --check + ruff check