-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (48 loc) · 1.24 KB
/
python.yaml
File metadata and controls
53 lines (48 loc) · 1.24 KB
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
51
52
53
name: Python
permissions:
contents: read
on:
pull_request:
branches:
- main
jobs:
pyright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Just
run: sudo apt install just
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: PyRight Check
run: just py-right-check
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Just
run: sudo apt install just
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Ruff Linting
run: just py-ruff-check
ruff-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Just
run: sudo apt install just
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Ruff Formatting
run: just py-ruff-fmt-check
pip-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Just
run: sudo apt install just
- name: Install UV
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Pip-Audit Scan
run: just py-audit