Skip to content

Commit c95b177

Browse files
committed
update dev
1 parent 8c381c3 commit c95b177

File tree

9 files changed

+806
-618
lines changed

9 files changed

+806
-618
lines changed

.github/workflows/build-docset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- run: uvx --with=tox-uv tox run -e docset
3030

31-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
31+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
3232
with:
3333
name: docset
3434
path: attrs.tgz

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929
persist-credentials: false
3030

31-
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
31+
- uses: hynek/build-and-inspect-python-package@efb823f52190ad02594531168b7a2d5790e66516 # v2.14.0
3232
id: baipp
3333

3434
outputs:
@@ -49,7 +49,7 @@ jobs:
4949

5050
steps:
5151
- name: Download pre-built packages
52-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
52+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
5353
with:
5454
name: Packages
5555
path: dist
@@ -89,7 +89,7 @@ jobs:
8989
-e $TOX_PYTHON-tests
9090
9191
- name: Upload coverage data
92-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
92+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
9393
with:
9494
name: coverage-data-${{ matrix.python-version }}
9595
path: .coverage.*
@@ -109,7 +109,7 @@ jobs:
109109

110110
steps:
111111
- name: Download pre-built packages
112-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
112+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
113113
with:
114114
name: Packages
115115
path: dist
@@ -131,15 +131,15 @@ jobs:
131131

132132
steps:
133133
- name: Download pre-built packages
134-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
134+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
135135
with:
136136
name: Packages
137137
path: dist
138138
- run: tar xf dist/*.tar.gz --strip-components=1
139139
- uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
140140

141141
- name: Download coverage data
142-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
142+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
143143
with:
144144
pattern: coverage-data-*
145145
merge-multiple: true
@@ -158,7 +158,7 @@ jobs:
158158
coverage report --fail-under=100
159159
160160
- name: Upload HTML report if check failed.
161-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
161+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
162162
with:
163163
name: html-report
164164
path: htmlcov
@@ -170,7 +170,7 @@ jobs:
170170
needs: build-package
171171
steps:
172172
- name: Download pre-built packages
173-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
173+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
174174
with:
175175
name: Packages
176176
path: dist

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
persist-credentials: false
3030

3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
32+
uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
3333
with:
3434
languages: ${{ matrix.language }}
3535

3636
- name: Autobuild
37-
uses: github/codeql-action/autobuild@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
37+
uses: github/codeql-action/autobuild@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
3838

3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
40+
uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0
4040

4141
- name: Run CodSpeed benchmarks
42-
uses: CodSpeedHQ/action@3959e9e296ef25296e93e32afcc97196f966e57f # v4.1.0
42+
uses: CodSpeedHQ/action@4348f634fa7309fe23aac9502e88b999ec90a164 # v4.3.1
4343
with:
4444
mode: instrumentation
4545
token: ${{ secrets.CODSPEED_TOKEN }}

.github/workflows/pypi-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fetch-depth: 0
2727
persist-credentials: false
2828

29-
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
29+
- uses: hynek/build-and-inspect-python-package@efb823f52190ad02594531168b7a2d5790e66516 # v2.14.0
3030
with:
3131
attest-build-provenance-github: 'true'
3232

@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- name: Download packages built by build-and-inspect-python-package
47-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
47+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
4848
with:
4949
name: Packages
5050
path: dist
@@ -69,7 +69,7 @@ jobs:
6969

7070
steps:
7171
- name: Download packages built by build-and-inspect-python-package
72-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
72+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
7373
with:
7474
name: Packages
7575
path: dist

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Upload SARIF file
33-
uses: github/codeql-action/upload-sarif@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
33+
uses: github/codeql-action/upload-sarif@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
3434
with:
3535
# Path to SARIF file relative to the root of the repository
3636
sarif_file: results.sarif

.pre-commit-config.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.13.3
7+
rev: v0.14.2
88
hooks:
99
- id: ruff-check
1010
args: [--fix, --exit-non-zero-on-fix]
@@ -22,6 +22,13 @@ repos:
2222
- id: codespell
2323
args: [--exclude-file=tests/test_mypy.yml]
2424

25+
- repo: https://github.com/abravalheri/validate-pyproject
26+
rev: v0.24.1
27+
hooks:
28+
- id: validate-pyproject
29+
# Optional extra validations from SchemaStore:
30+
additional_dependencies: ["validate-pyproject-schema-store[all]"]
31+
2532
- repo: https://github.com/pre-commit/pre-commit-hooks
2633
rev: v6.0.0
2734
hooks:

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ commands = cog -rP README.md docs/index.md
111111
[testenv:pre-commit]
112112
runner = uv-venv-runner
113113
skip_install = true
114-
deps = pre-commit-uv
115-
commands = pre-commit run --all-files
114+
deps = prek
115+
commands = prek run --all-files
116116

117117

118118
[testenv:changelog]

0 commit comments

Comments
 (0)