Skip to content

Commit 5038667

Browse files
committed
update workflows
1 parent a18a3fd commit 5038667

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
name: Publish
2-
32
on:
43
push:
54
branches: [main]
5+
strategy:
6+
matrix:
7+
python-version: ["3.11"]
68

79
jobs:
810
test:
911
runs-on: ubuntu-latest
1012
steps:
1113
- uses: actions/checkout@v4
1214

13-
- name: Set up Python
15+
- name: Set up Python ${{ matrix.python-version }}
1416
uses: actions/setup-python@v5
1517
with:
16-
python-version: "3.11"
18+
python-version: ${{ matrix.python-version }}
1719

1820
- name: Install uv
1921
run: |
@@ -55,10 +57,10 @@ jobs:
5557
steps:
5658
- uses: actions/checkout@v4
5759

58-
- name: Set up Python
60+
- name: Set up Python ${{ matrix.python-version }}
5961
uses: actions/setup-python@v5
6062
with:
61-
python-version: "3.11"
63+
python-version: ${{ matrix.python-version }}
6264

6365
- name: Install uv
6466
run: |

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Test
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
pull_request:
7-
branches: [main]
7+
branches: [main, develop]
88

99
jobs:
1010
test:

0 commit comments

Comments
 (0)