-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (44 loc) · 1.09 KB
/
verify.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
---
name: Verify
on:
push:
workflow_dispatch:
env:
PYTHON_VERSION: "3.11"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- uses: extractions/setup-just@v2
- run: just lint
check-lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- uses: extractions/setup-just@v2
- run: just check-lockfile
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv python install ${{ env.PYTHON_VERSION }}
- uses: extractions/setup-just@v2
- run: just type-check
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: check for typos
uses: crate-ci/[email protected]