@@ -14,22 +14,22 @@ jobs:
14
14
lint :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/checkout@v4
18
- - uses : actions/setup-python@v5
17
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18
+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
19
19
with :
20
20
python-version : 3.x
21
- -
uses :
pre-commit/[email protected]
21
+ - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
22
22
23
23
# Make sure commit messages follow the conventional commits convention:
24
24
# https://www.conventionalcommits.org
25
25
commitlint :
26
26
name : Lint Commit Messages
27
27
runs-on : ubuntu-latest
28
28
steps :
29
- - uses : actions/checkout@v4
29
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
30
30
with :
31
31
fetch-depth : 0
32
-
32
+ - uses : wagoid/commitlint-github-action@7f0a61df502599e1f1f50880aaa7ec1e2c0592f2 # v6.0.1
33
33
34
34
test :
35
35
strategy :
@@ -47,17 +47,17 @@ jobs:
47
47
- macOS-latest
48
48
runs-on : ${{ matrix.os }}
49
49
steps :
50
- - uses : actions/checkout@v4
51
- - uses : actions/setup-python@v5
50
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
51
+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
52
52
id : setup-python
53
53
with :
54
54
python-version : ${{ matrix.python-version }}
55
- - uses : astral-sh/setup-uv@v5
55
+ - uses : astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
56
56
- run : uv sync --no-python-downloads
57
57
shell : bash
58
58
- run : uv run pytest
59
59
shell : bash
60
- - uses : codecov/codecov-action@v5
60
+ - uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
61
61
with :
62
62
token : ${{ secrets.CODECOV_TOKEN }}
63
63
76
76
contents : write
77
77
78
78
steps :
79
- - uses : actions/checkout@v4
79
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
80
80
with :
81
81
fetch-depth : 0
82
82
ref : ${{ github.sha }}
@@ -87,22 +87,22 @@ jobs:
87
87
88
88
# Do a dry run of PSR
89
89
- name : Test release
90
- uses : python-semantic-release/python-semantic-release@v9
90
+ uses : python-semantic-release/python-semantic-release@0dc72ac9058a62054a45f6344c83a423d7f906a8 # v9
91
91
if : github.ref_name != 'main'
92
92
with :
93
93
root_options : --noop
94
94
github_token : noop
95
95
96
96
# On main branch: actual PSR + upload to PyPI & GitHub
97
97
- name : Release
98
- uses : python-semantic-release/python-semantic-release@v9
98
+ uses : python-semantic-release/python-semantic-release@0dc72ac9058a62054a45f6344c83a423d7f906a8 # v9
99
99
id : release
100
100
if : github.ref_name == 'main'
101
101
with :
102
102
github_token : ${{ secrets.GITHUB_TOKEN }}
103
103
104
104
- name : Attest build provenance
105
- uses : actions/attest-build-provenance@v1
105
+ uses : actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1
106
106
if : steps.release.outputs.released == 'true'
107
107
with :
108
108
subject-path : " dist/*"
@@ -112,7 +112,7 @@ jobs:
112
112
if : steps.release.outputs.released == 'true'
113
113
114
114
- name : Publish package distributions to GitHub Releases
115
- uses : python-semantic-release/publish-action@v9
115
+ uses : python-semantic-release/publish-action@1aa9f41fac5d531e6764e1991b536783337f3a56 # v9
116
116
if : steps.release.outputs.released == 'true'
117
117
with :
118
118
github_token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments