File tree Expand file tree Collapse file tree 4 files changed +0
-66
lines changed Expand file tree Collapse file tree 4 files changed +0
-66
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 29
29
with :
30
30
fetch-depth : 0
31
31
32
- - name : Generate artifact attestation for sdist and wheel
33
- uses : actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2
34
- with :
35
- subject-path : " dist/cuda-histogram-*"
36
-
37
32
- uses : hynek/build-and-inspect-python-package@v2
38
33
39
34
publish :
56
51
- name : List distributions to be deployed
57
52
run : ls -l dist/
58
53
59
- - name : Verify sdist artifact attestation
60
- env :
61
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
- run :
63
- gh attestation verify dist/cuda-histogram-*.tar.gz --repo ${{
64
- github.repository }}
65
-
66
- - name : Verify wheel artifact attestation
67
- env :
68
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69
- run :
70
- gh attestation verify dist/cuda-histogram-*.whl --repo ${{
71
- github.repository }}
72
-
73
54
- uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 30
30
-
uses :
pre-commit/[email protected]
31
31
with :
32
32
extra_args : --hook-stage manual --all-files
33
- - name : Run PyLint
34
- run : |
35
- echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
36
- pipx run nox -s pylint
37
33
38
34
checks :
39
35
name : Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
Original file line number Diff line number Diff line change @@ -25,17 +25,6 @@ def lint(session: nox.Session) -> None:
25
25
)
26
26
27
27
28
- @nox .session
29
- def pylint (session : nox .Session ) -> None :
30
- """
31
- Run PyLint.
32
- """
33
- # This needs to be installed into the package environment, and is slower
34
- # than a pre-commit check
35
- session .install ("." , "pylint" )
36
- session .run ("pylint" , "cuda_histogram" , * session .posargs )
37
-
38
-
39
28
@nox .session (python = ALL_PYTHON )
40
29
def tests (session : nox .Session ) -> None :
41
30
"""
You can’t perform that action at this time.
0 commit comments