26
26
CARGO_TERM_COLOR : always
27
27
CARGO_INCREMENTAL : ' 0'
28
28
CARGO_PROFILE_DEV_DEBUG : ' 0'
29
- RUST_TOOLCHAIN_VERSION : " 1.82.0"
29
+ RUST_TOOLCHAIN_VERSION : " 1.84.1"
30
+ PYTHON_VERSION : " 3.12"
30
31
RUSTFLAGS : " -D warnings"
31
32
RUSTDOCFLAGS : " -D warnings"
32
33
RUST_LOG : " info"
49
50
version : ubuntu-latest
50
51
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51
52
with :
53
+ persist-credentials : false
52
54
submodules : recursive
53
- - uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
55
+ - uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
54
56
with :
55
57
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
56
58
- uses : Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
@@ -118,8 +120,9 @@ jobs:
118
120
steps :
119
121
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
120
122
with :
123
+ persist-credentials : false
121
124
submodules : recursive
122
- - uses : EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.1
125
+ - uses : EmbarkStudios/cargo-deny-action@8d73959fce1cdc8989f23fdf03bec6ae6a6576ef # v2.0.7
123
126
with :
124
127
command : check ${{ matrix.checks }}
125
128
@@ -129,8 +132,9 @@ jobs:
129
132
steps :
130
133
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
131
134
with :
135
+ persist-credentials : false
132
136
submodules : recursive
133
- - uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
137
+ - uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
134
138
with :
135
139
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
136
140
components : rustfmt
@@ -147,8 +151,9 @@ jobs:
147
151
version : ubuntu-latest
148
152
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
149
153
with :
154
+ persist-credentials : false
150
155
submodules : recursive
151
- - uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
156
+ - uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
152
157
with :
153
158
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
154
159
components : clippy
@@ -183,7 +188,7 @@ jobs:
183
188
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
184
189
with :
185
190
submodules : recursive
186
- - uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
191
+ - uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
187
192
with :
188
193
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
189
194
components : rustfmt
@@ -204,8 +209,9 @@ jobs:
204
209
version : ubuntu-latest
205
210
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
206
211
with :
212
+ persist-credentials : false
207
213
submodules : recursive
208
- - uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
214
+ - uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
209
215
with :
210
216
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
211
217
- uses : Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
@@ -224,10 +230,11 @@ jobs:
224
230
steps :
225
231
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
226
232
with :
233
+ persist-credentials : false
227
234
submodules : recursive
228
235
- uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
229
236
with :
230
- python-version : ' 3.12 '
237
+ python-version : ${{ env.PYTHON_VERSION }}
231
238
- name : Install jinja2-cli
232
239
run : pip install jinja2-cli==0.8.2
233
240
- name : Regenerate charts
@@ -262,13 +269,14 @@ jobs:
262
269
version : ubuntu-latest
263
270
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
264
271
with :
272
+ persist-credentials : false
265
273
submodules : recursive
266
274
- name : Set up Helm
267
275
uses : azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
268
276
with :
269
277
version : v3.16.1
270
278
- name : Set up cargo
271
- uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
279
+ uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
272
280
with :
273
281
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
274
282
- uses : Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
@@ -332,9 +340,10 @@ jobs:
332
340
version : ${{ matrix.runner }}
333
341
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
334
342
with :
343
+ persist-credentials : false
335
344
submodules : recursive
336
- - uses : cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
337
- - uses : dtolnay/rust-toolchain@a54c7afa936fefeb4456b2dd8068152669aa8203
345
+ - uses : cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
346
+ - uses : dtolnay/rust-toolchain@c5a29ddb4d9d194e7c84ec8c3fba61b1c31fee8c
338
347
with :
339
348
toolchain : ${{ env.RUST_TOOLCHAIN_VERSION }}
340
349
components : rustfmt
@@ -371,9 +380,9 @@ jobs:
371
380
# default value in the makefile if called from this action, but not otherwise (i.e. when called locally).
372
381
# This is needed for the HELM_REPO variable.
373
382
- name : Install cosign
374
- uses : sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
383
+ uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
375
384
- name : Install syft
376
- uses : anchore/sbom-action/download-syft@61119d458adab75f756bc0b9e4bde25725f86a7a # v0.17.2
385
+ uses : anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
377
386
- name : Build Docker image and Helm chart
378
387
run : |
379
388
# Installing helm and yq on ubicloud-standard-8-arm only
@@ -417,10 +426,11 @@ jobs:
417
426
OCI_REGISTRY_SDP_CHARTS_USERNAME : " robot$sdp-charts+github-action-build"
418
427
steps :
419
428
- name : Install cosign
420
- uses : sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
429
+ uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
421
430
- name : Checkout
422
431
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
423
432
with :
433
+ persist-credentials : false
424
434
submodules : recursive
425
435
# This step checks if the current run was triggered by a push to a pr (or a pr being created).
426
436
# If this is the case it changes the version of this project in all Cargo.toml files to include the suffix
0 commit comments