-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
37 lines (31 loc) · 750 Bytes
/
lockfile-check.yml
File metadata and controls
37 lines (31 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Lockfile
on:
pull_request:
paths:
- "pyproject.toml"
- "uv.lock"
# - ".python-version"
- ".github/workflows/uv-lockfile-check.yml"
push:
branches: [main]
paths:
- "pyproject.toml"
- "uv.lock"
# - ".python-version"
- ".github/workflows/uv-lockfile-check.yml"
jobs:
uv-lockfile-check:
name: uv.lock is current
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: pyproject.toml
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
version: "0.10.10"
- name: Check lockfile
run: uv lock --check