From 0abbfceddc0e50f2af1b33e04c636d479f1c2566 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 16 Oct 2026 12:28:43 -0400 Subject: [PATCH 1/2] ci: bump python to 3.15 Python 3.15.0 is out. Co-Authored-By: Claude --- .github/workflows/ruff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 828a1f6..f2dac7d 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -11,7 +11,7 @@ jobs: timeout-minutes: 5 strategy: matrix: - python-version: ["3.13"] + python-version: ["3.15"] steps: - uses: actions/checkout@v7 From d1de84417c6454ef71097da1639d9d6274e76f4e Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 16 Oct 2026 15:58:17 -0400 Subject: [PATCH 2/2] ci: run lint from a ci workflow Replace ruff.yml with ci.yml (CI) holding a lint job (ruff check and ruff format --check) on 3.15, matching the other Bolt for Python samples. The job is now lint instead of build. Co-Authored-By: Claude --- .github/workflows/{ruff.yml => ci.yml} | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) rename .github/workflows/{ruff.yml => ci.yml} (50%) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ci.yml similarity index 50% rename from .github/workflows/ruff.yml rename to .github/workflows/ci.yml index f2dac7d..9ab5f1e 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ci.yml @@ -1,29 +1,26 @@ -name: Linting and formatting validation using ruff +name: CI on: push: - branches: [main] + branches: + - main pull_request: jobs: - build: + lint: runs-on: ubuntu-latest timeout-minutes: 5 - strategy: - matrix: - python-version: ["3.15"] - steps: - uses: actions/checkout@v7 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v7 with: - python-version: ${{ matrix.python-version }} + python-version: "3.15" - name: Install dependencies run: | pip install -U pip pip install -r requirements.txt - - name: Lint and check formatting with ruff + - name: Lint and check formatting run: | ruff check . - ruff format --check . \ No newline at end of file + ruff format --check .