From 699585505981d43545db896c57ad33403b97c2e0 Mon Sep 17 00:00:00 2001 From: Daniil Korochansky <46446920+daniilkorochansky@users.noreply.github.com> Date: Tue, 16 Jun 2026 15:55:57 +1000 Subject: [PATCH] Create lint.yml --- .github/workflows/lint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..24d7cce --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: Code Linter + +on: + 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.14' # Укажи версию Python, на которой работает Spawn + + - name: Install Ruff + run: pip install ruff + + - name: Run Ruff Formatter Check + run: ruff format --check .