File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed
Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 4040 with :
4141 # We want our tags here
4242 fetch-depth : 0
43+ persist-credentials : false
44+
4345 - name : Install the latest version of uv
4446 id : setup-uv
4547 uses : astral-sh/setup-uv@v3
6567 runs-on : ubuntu-latest
6668 steps :
6769 - uses : actions/checkout@v4
70+ with :
71+ persist-credentials : false
6872 - name : Install the latest version of uv
6973 id : setup-uv
7074 uses : astral-sh/setup-uv@v3
@@ -104,6 +108,7 @@ jobs:
104108 with :
105109 # We want our tags here
106110 fetch-depth : 0
111+ persist-credentials : false
107112 - uses : hynek/build-and-inspect-python-package@v2
108113
109114 install-dev :
@@ -116,6 +121,8 @@ jobs:
116121
117122 steps :
118123 - uses : actions/checkout@v4
124+ with :
125+ persist-credentials : false
119126 - name : Install the latest version of uv
120127 id : setup-uv
121128 uses : astral-sh/setup-uv@v3
Original file line number Diff line number Diff line change 1616
1717permissions :
1818 contents : read
19- # Needed for trusted publishing.
20- id-token : write
2119
2220jobs :
2321 pure-python-wheel-and-sdist :
@@ -29,11 +27,17 @@ jobs:
2927 with :
3028 # Fetch all tags; this is needed for hatch-vcs
3129 fetch-depth : 0
30+ persist-credentials : false
3231
3332 - uses : hynek/build-and-inspect-python-package@v2
3433
3534 # Upload to Test PyPI on every commit on main.
3635 publish-test-release :
36+ permissions :
37+ contents : read
38+ # Needed for trusted publishing.
39+ id-token : write
40+
3741 name : Publish in-dev package to test.pypi.org
3842 environment : publish-test-release
3943 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
5458 repository-url : https://test.pypi.org/legacy/
5559
5660 publish-release :
61+ permissions :
62+ contents : read
63+ # Needed for trusted publishing.
64+ id-token : write
65+
5766 name : Publish release
5867 environment : publish-release
5968 needs :
Original file line number Diff line number Diff line change 55 - id : check-useless-excludes
66
77 - repo : https://github.com/pre-commit/pre-commit-hooks
8- rev : v4.6 .0
8+ rev : v5.0 .0
99 hooks :
1010 - id : debug-statements
1111
1212 - repo : https://github.com/asottile/blacken-docs
13- rev : 1.18.0
13+ rev : 1.19.1
1414 hooks :
1515 - id : blacken-docs
1616 # args: ["-l100"]
1717
1818 - repo : https://github.com/astral-sh/ruff-pre-commit
1919 # Ruff version.
20- rev : v0.6.8
20+ rev : v0.7.2
2121 hooks :
2222 # Run the linter.
2323 - id : ruff
24- args : [ --fix ]
24+ args : [--fix]
2525 # Run the formatter.
2626 - id : ruff-format
You can’t perform that action at this time.
0 commit comments