From 2efbd53bd120931357713f1c9200388ab469e2c3 Mon Sep 17 00:00:00 2001 From: Pavel Kuliaka <73388735+pvl-klk@users.noreply.github.com> Date: Sun, 12 Oct 2025 15:43:35 +0300 Subject: [PATCH] Create ruff.yml --- .github/workflows/ruff.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..442c26c --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,24 @@ +name: Ruff Code Check +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.13' + + - name: Install Ruff + run: pip install ruff + + - name: Run Ruff linting + run: ruff check .