Skip to content

Commit 6b00421

Browse files
committed
workflow updates
1 parent 521a7a0 commit 6b00421

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pythonpackage.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Python package
22

33
on:
4-
push:
54
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
69

710
jobs:
811
build:
@@ -17,6 +20,8 @@ jobs:
1720
- uses: actions/checkout@v6
1821
- name: Install uv
1922
uses: "astral-sh/setup-uv@v8.0.0"
23+
with:
24+
cache-suffix: ${{ matrix.python-version }}
2025
- name: Set up Python ${{ matrix.python-version }}
2126
run: uv python install ${{ matrix.python-version }}
2227
- name: Install dependencies

0 commit comments

Comments
 (0)