Skip to content

Commit 0543de5

Browse files
Rework rich-codex workflow (#167)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent f84bcf4 commit 0543de5

File tree

8 files changed

+91
-94
lines changed

8 files changed

+91
-94
lines changed

.github/workflows/publishing.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
name: Publishing
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
- docs/**
9+
pull_request:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- docs/**
414

515
env:
616
PY_VERSION: 3.14

.github/workflows/rich-codex.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@ name: Rich Codex
22

33
on:
44
push:
5+
branches:
6+
- main
57
paths:
8+
- .github/workflows/rich-codex.yaml
9+
- README.md
10+
- perdoo/cli/**
11+
pull_request:
12+
branches:
13+
- main
14+
paths:
15+
- .github/workflows/rich-codex.yaml
616
- README.md
717
- perdoo/cli/**
818
workflow_dispatch:
919

1020
env:
11-
PY_VERSION: 3.14
21+
PY_VERSION: "3.10"
1222

1323
jobs:
1424
rich_codex:
@@ -22,7 +32,7 @@ jobs:
2232
with:
2333
python-version: ${{ env.PY_VERSION }}
2434
- name: Install project
25-
run: uv sync --locked --no-dev
35+
run: uv sync --locked --dev --all-extras --managed-python
2636
- name: Generate terminal images with rich-codex
2737
uses: ewels/rich-codex@v1.2.11
2838
with:

docs/img/perdoo-archive.svg

Lines changed: 2 additions & 2 deletions
Loading

docs/img/perdoo-commands.svg

Lines changed: 56 additions & 84 deletions
Loading

docs/img/perdoo-process.svg

Lines changed: 2 additions & 2 deletions
Loading

docs/img/perdoo-settings.svg

Lines changed: 2 additions & 2 deletions
Loading

prek.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repo = "local"
1212
hooks = [
1313
{args = ["--allow-multiple-documents"], id = "check-yaml"},
1414
{args = ["--assume-in-merge"], id = "check-merge-conflict"},
15-
{args = ["--markdown-linebreak-ext=md"], id = "trailing-whitespace"},
15+
{args = ["--markdown-linebreak-ext=md"], exclude_types = ["svg"], id = "trailing-whitespace"},
1616
{exclude_types = ["json", "svg", "xml"], id = "end-of-file-fixer"},
1717
{id = "check-added-large-files"},
1818
{id = "check-case-conflict"},

uv.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)