-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 842 Bytes
/
rich-codex.yaml
File metadata and controls
40 lines (36 loc) · 842 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
38
39
40
name: Rich Codex
on:
push:
branches:
- main
paths:
- .github/workflows/rich-codex.yaml
- README.md
- perdoo/cli/**
pull_request:
branches:
- main
paths:
- .github/workflows/rich-codex.yaml
- README.md
- perdoo/cli/**
workflow_dispatch:
env:
PY_VERSION: "3.10"
jobs:
rich_codex:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: astral-sh/setup-uv@v7
with:
python-version: ${{ env.PY_VERSION }}
- name: Install project
run: uv sync --locked --dev --all-extras --managed-python
- name: Generate terminal images with rich-codex
uses: ewels/rich-codex@v1.2.11
with:
commit_changes: true
clean_img_paths: docs/img/*.svg