Skip to content

Commit 304ae6c

Browse files
WilliamBergaminClaude
andauthored
ci: add python 3.15 and run lint from a ci workflow (#153)
* ci: bump python to 3.15 Python 3.15.0 is out. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com> * 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 <svc-devxp-claude@slack-corp.com> --------- Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
1 parent 5b698c3 commit 304ae6c

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
1-
name: Linting and formatting validation using ruff
1+
name: CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
67
pull_request:
78

89
jobs:
9-
build:
10+
lint:
1011
runs-on: ubuntu-latest
1112
timeout-minutes: 5
12-
strategy:
13-
matrix:
14-
python-version: ["3.13"]
15-
1613
steps:
1714
- uses: actions/checkout@v7
18-
- name: Set up Python ${{ matrix.python-version }}
15+
- name: Set up Python
1916
uses: actions/setup-python@v7
2017
with:
21-
python-version: ${{ matrix.python-version }}
18+
python-version: "3.15"
2219
- name: Install dependencies
2320
run: |
2421
pip install -U pip
2522
pip install -r requirements.txt
26-
- name: Lint and check formatting with ruff
23+
- name: Lint and check formatting
2724
run: |
2825
ruff check .
29-
ruff format --check .
26+
ruff format --check .

0 commit comments

Comments
 (0)