Skip to content

Commit dee50a6

Browse files
committed
docs: clarify better alternative
1 parent 3a0df30 commit dee50a6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

python-projector/README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ For example, in GitHub Actions:
8484

8585
```yaml
8686
jobs:
87-
test:
87+
job-name:
8888
runs-on: ubuntu-latest
8989
steps:
9090
- uses: actions/checkout@v4
@@ -101,6 +101,17 @@ jobs:
101101
# ...
102102
```
103103

104+
> [!NOTE]
105+
> The above is just for a demonstration. You can use `deargen/workflows/actions/setup-python-and-uv` action to simplify the process.
106+
> ```yaml
107+
> jobs:
108+
> job-name:
109+
> runs-on: ubuntu-24.04
110+
> steps:
111+
> - uses: actions/checkout@v4
112+
> - uses: deargen/workflows/actions/setup-python-and-uv@master
113+
> ```
114+
104115
### Generate `__init__.py` files with `projector gen-init-py`
105116
106117
Generate `__init__.py` files recursively in the `src/` directory found like `projector get-src-dir`.

0 commit comments

Comments
 (0)