File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 11
11
permissions :
12
12
contents : read
13
13
14
+ env :
15
+ FORCE_COLOR : 1
16
+
14
17
jobs :
15
18
# Always build & lint package.
16
19
build-package :
47
50
- name : Publish to Test PyPI
48
51
uses : pypa/gh-action-pypi-publish@release/v1
49
52
with :
53
+ attestations : true
50
54
repository-url : https://test.pypi.org/legacy/
51
55
52
56
# Publish to PyPI on GitHub Releases.
78
82
79
83
- name : Publish to PyPI
80
84
uses : pypa/gh-action-pypi-publish@release/v1
85
+ with :
86
+ attestations : true
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Test
2
2
3
3
on : [push, pull_request, workflow_dispatch]
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
env :
6
9
FORCE_COLOR : 1
7
10
Original file line number Diff line number Diff line change 2
2
- repo : https://github.com/pre-commit/pre-commit-hooks
3
3
rev : v4.6.0
4
4
hooks :
5
+ - id : check-added-large-files
5
6
- id : check-case-conflict
6
7
- id : check-merge-conflict
7
8
- id : check-toml
8
9
- id : check-yaml
9
10
- id : debug-statements
10
11
- id : end-of-file-fixer
12
+ - id : forbid-submodules
11
13
- id : trailing-whitespace
12
14
15
+ - repo : https://github.com/python-jsonschema/check-jsonschema
16
+ rev : 0.29.2
17
+ hooks :
18
+ - id : check-dependabot
19
+ - id : check-github-workflows
20
+
21
+ - repo : https://github.com/rhysd/actionlint
22
+ rev : v1.7.2
23
+ hooks :
24
+ - id : actionlint
25
+
13
26
- repo : https://github.com/tox-dev/pyproject-fmt
14
- rev : 2.1.3
27
+ rev : 2.2.4
15
28
hooks :
16
29
- id : pyproject-fmt
17
30
18
31
- repo : https://github.com/abravalheri/validate-pyproject
19
- rev : v0.18
32
+ rev : v0.20.2
20
33
hooks :
21
34
- id : validate-pyproject
22
35
23
36
- repo : https://github.com/tox-dev/tox-ini-fmt
24
- rev : 1.3 .1
37
+ rev : 1.4 .1
25
38
hooks :
26
39
- id : tox-ini-fmt
27
40
You can’t perform that action at this time.
0 commit comments