@@ -31,12 +31,12 @@ jobs:
31
31
- macos-latest
32
32
# - windows-latest
33
33
steps :
34
- - uses : actions/checkout@v4
34
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
35
35
with :
36
36
fetch-depth : 0
37
37
38
38
- name : Setup UV
39
- uses : astral-sh/setup-uv@v6
39
+ uses : astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6
40
40
with :
41
41
activate-environment : true
42
42
76
76
77
77
- name : Upload JUnit results
78
78
if : success() || failure()
79
- uses : actions/upload-artifact@v4
79
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
80
80
with :
81
81
name : junit-${{ matrix.os }}-${{ matrix.env }}
82
82
path : |
86
86
retention-days : 1
87
87
88
88
- name : Publish Test Report
89
- uses : dorny/test-reporter@v2
89
+ uses : dorny/test-reporter@890a17cecf52a379fc869ab770a71657660be727 # v2
90
90
if : success() || failure()
91
91
with :
92
92
name : Tox Tests (${{ matrix.env }})
@@ -115,26 +115,26 @@ jobs:
115
115
concurrency : release
116
116
runs-on : ubuntu-latest
117
117
steps :
118
- - uses : actions/checkout@v4
118
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
119
119
with :
120
120
fetch-depth : 0
121
121
122
122
- name : Obtain Project Version
123
-
123
+ uses : SebRollen/toml-action@b1b3628f55fc3a28208d4203ada8b737e9687876 # v1.2.0
124
124
id : proj-version
125
125
with :
126
126
file : pyproject.toml
127
127
field : project.version
128
128
129
129
- name : Cache SonarQube packages
130
- uses : actions/cache@v4
130
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
131
131
with :
132
132
path : ~/.sonar/cache
133
133
key : ${{ runner.os }}-sonar
134
134
restore-keys : ${{ runner.os }}-sonar
135
135
136
136
- name : Download JUnit reports
137
- uses : actions/download-artifact@v4
137
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
138
138
with :
139
139
path : .
140
140
merge-multiple : true
@@ -168,7 +168,7 @@ jobs:
168
168
# the branch was updated. To keep PSR working with the configured release branches,
169
169
# we force a checkout of the desired release branch but at the workflow sha HEAD.
170
170
- name : Setup | Checkout Repository at workflow sha
171
- uses : actions/checkout@v4
171
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
172
172
with :
173
173
fetch-depth : 0
174
174
ref : ${{ github.sha }}
@@ -178,7 +178,7 @@ jobs:
178
178
git checkout -B ${{ github.ref_name }} ${{ github.sha }}
179
179
180
180
- name : Setup | Install UV
181
- uses : astral-sh/setup-uv@v6
181
+ uses : astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6
182
182
with :
183
183
version : latest
184
184
enable-cache : true
@@ -189,14 +189,14 @@ jobs:
189
189
- name : Action | Semantic Version Release
190
190
id : release
191
191
# Adjust tag with desired version if applicable.
192
- uses :
python-semantic-release/[email protected]
192
+ uses : python-semantic-release/python-semantic-release@1a324000f2251a9e722e77b128bf72712653813f # v10.0.2
193
193
with :
194
194
github_token : ${{ secrets.GITHUB_TOKEN }}
195
195
git_committer_name : " github-actions"
196
196
git_committer_email :
" [email protected] "
197
197
198
198
- name : Publish | Upload to GitHub Release Assets
199
- uses :
python-semantic-release/[email protected]
199
+ uses : python-semantic-release/publish-action@e5e3010f6a207cd5d6f5d3dccedbea355484ca02 # v10.0.2
200
200
if : steps.release.outputs.released == 'true'
201
201
with :
202
202
github_token : ${{ secrets.GITHUB_TOKEN }}
@@ -218,7 +218,7 @@ jobs:
218
218
id-token : write
219
219
220
220
steps :
221
- - uses : actions/checkout@v4
221
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
222
222
223
223
- name : Log in to the container registry
224
224
uses : docker/login-action@6d4b68b490aef8836e8fb5e50ee7b3bdfa5894f0
@@ -235,15 +235,15 @@ jobs:
235
235
236
236
- name : Build and push Docker image
237
237
id : push
238
- uses : docker/build-push-action@v6
238
+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
239
239
with :
240
240
context : .
241
241
push : ${{ github.event_name != 'pull_request' }}
242
242
tags : ${{ steps.meta.outputs.tags }}
243
243
labels : ${{ steps.meta.outputs.labels }}
244
244
245
245
- name : Generate artifact attestation
246
- uses : actions/attest-build-provenance@v2
246
+ uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2
247
247
with :
248
248
subject-name : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
249
249
subject-digest : ${{ steps.push.outputs.digest }}
0 commit comments