Skip to content

Commit 542e4d3

Browse files
committed
Minor workflow tweak, enabling caching and saving a double build.
1 parent ce1fb3f commit 542e4d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: CI
22

33
on:
44
push:
5+
tags:
6+
- "v*"
57
pull_request:
68
release:
79
types: [published]
@@ -61,6 +63,7 @@ jobs:
6163
3.12
6264
pypy3.10
6365
allow-prereleases: true
66+
cache: pip
6467
- name: Set up nox
6568
uses: wntrblm/[email protected]
6669
- name: Run nox
@@ -83,6 +86,7 @@ jobs:
8386
- name: Set up Python
8487
uses: actions/setup-python@v5
8588
with:
89+
cache: pip
8690
python-version: "3.x"
8791
- name: Install dependencies
8892
run: python -m pip install build

0 commit comments

Comments
 (0)