File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : " Build CI/CD PipeLine "
1+ name : " Build CI/CD Pipeline "
22
33on :
44 push :
55 branches : [main, develop]
66 paths-ignore :
7- - " *.md"
8- - " docs/**"
7+ - " *.md"
8+ - " docs/**"
99
1010 pull_request :
1111 branches : [main]
1414 - " *.md"
1515 - " docs/**"
1616 schedule :
17- - cron : " 0 0 * * *"
17+ - cron : " 0 0 * * *"
1818
1919 workflow_dispatch :
2020
@@ -24,22 +24,22 @@ jobs:
2424 runs-on : ubuntu-latest
2525 steps :
2626 - name : Checkout Repository
27- - uses : actions/checkout@v5
27+ uses : actions/checkout@v5
2828
2929 - name : Set up uv
30- - uses : astral-sh/setup-uv@v3
30+ uses : astral-sh/setup-uv@v3
3131 with :
3232 enable-cache : true
3333 cache-dependency-glob : |
34- **/uv.lock
35- **/pyproject.toml
34+ **/uv.lock
35+ **/pyproject.toml
3636 - name : Set up Python
37- - uses : actions/setup-python@v5
37+ uses : actions/setup-python@v5
3838 with :
39- python-version : 3.11
39+ python-version : " 3.11"
4040 allow-prereleases : true
4141 - name : Install dependencies
42- - run : |
42+ run : |
4343 uv sync --all-extras
4444 uv pip list
4545 - name : Lint code
@@ -60,11 +60,12 @@ jobs:
6060 --ignore=web_programming/fetch_anime_and_play.py \
6161 --cov-report=term-missing:skip-covered \
6262 --cov=. .
63-
63+
6464 - name : Build package (if needed)
65- run : uv build
66- if : ${{ success() }}
65+ run : uv build
66+ if : ${{ success() }}
6767
68- - name : Generate Directory Markdoun
68+ - name : Generate Directory Markdown
6969 run : python scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md
70+ if : ${{ success() }}
7071
You can’t perform that action at this time.
0 commit comments