We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 387217f commit 4bd5e2fCopy full SHA for 4bd5e2f
.github/workflows/ci.yml
@@ -1,3 +1,4 @@
1
+# .github/workflows/ci.yml
2
name: CI
3
on: [push, pull_request]
4
@@ -14,9 +15,20 @@ jobs:
14
15
- { name: "make format --check", cmd: "make format FLAGS=--check" }
16
steps:
17
- uses: actions/checkout@v4
18
+
19
+ - name: Cache uv
20
+ uses: actions/cache@v4
21
+ with:
22
+ path: |
23
+ ~/.cache/uv
24
+ .venv
25
+ key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock', '**/pyproject.toml') }}
26
+ restore-keys: ${{ runner.os }}-uv-
27
28
- name: Install uv
29
run: |
30
set -euxo pipefail
31
curl -LsSf https://astral.sh/uv/install.sh | sh
32
echo "$HOME/.local/bin" >> $GITHUB_PATH
33
34
- run: ${{ matrix.cmd }}
0 commit comments