File tree Expand file tree Collapse file tree 5 files changed +89
-69
lines changed
Expand file tree Collapse file tree 5 files changed +89
-69
lines changed Original file line number Diff line number Diff line change 1- name : push
2-
3- " on " :
4- push :
5- branches :
6- - master
7-
81jobs :
9- tag :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Tag latest commit
13- uses : dycw/action-tag-commit@latest
14- with :
15- token : ${{ secrets.GITHUB_TOKEN }}
16-
172 publish :
183 environment :
194 name : pypi
3318 run : uv build
3419 - name : Upload distribution
3520 run : uv publish --trusted-publishing always
21+ tag :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Tag latest commit
25+ uses : dycw/action-tag-commit@latest
26+ with :
27+ token : ${{ secrets.GITHUB_TOKEN }}
28+ - name : Tag latest commit
29+ uses : dycw/action-tag@latest
30+ with :
31+ token : ${{ secrets.GITHUB_TOKEN }}
32+ name : push
33+ " on " :
34+ push :
35+ branches :
36+ - master
Original file line number Diff line number Diff line change 55 id : ruff-check
66 - id : ruff-format
77 repo : https://github.com/astral-sh/ruff-pre-commit
8- rev : v0.14.9
8+ rev : v0.14.10
99 - hooks :
1010 - args :
1111 - --upgrade
1212 id : uv-lock
1313 repo : https://github.com/astral-sh/uv-pre-commit
14- rev : 0.9.17
14+ rev : 0.9.18
1515 - hooks :
1616 - args :
1717 - --option
@@ -27,20 +27,23 @@ repos:
2727 - args :
2828 - --coverage
2929 - --github--push--tag
30+ - --package-name=dycw-template
3031 - --pre-commit--prettier
3132 - --pre-commit--ruff
3233 - --pre-commit--taplo
3334 - --pre-commit--uv
3435 - --pyproject
35- - --pyproject--project--name=template
3636 - --pyright
3737 - --pyright--include=src
3838 - --pytest
3939 - --pytest--test-paths=src/tests
40+ - --python-package-name=template
41+ - --readme
42+ - --repo-name=template
4043 - --ruff
4144 id : nitpick
4245 repo : https://github.com/dycw/pre-commit-hook-nitpick
43- rev : 0.3.2
46+ rev : 0.4.8
4447 - hooks :
4548 - id : format-requirements
4649 - id : replace-sequence-str
Original file line number Diff line number Diff line change 1- # ` dycw- template`
1+ # ` template `
Original file line number Diff line number Diff line change 88[project ]
99 authors = [{ email = " d.wan@icloud.com" , name = " Derek Wan" }]
1010 dependencies = []
11- name = " template"
11+ name = " dycw- template"
1212 readme = " README.md"
1313 requires-python = " >= 3.14"
1414 version = " 0.1.0"
15+
16+ [tool .uv .build-backend ]
17+ module-name = " template"
18+ module-root = " src"
You can’t perform that action at this time.
0 commit comments