Skip to content

Commit ac16273

Browse files
authored
chore: Bump Rust toolchains, pre-commit hooks and actions (#1317)
* ci: Bump Python to 3.14 * chore: Bump stable Rust toolchain to 1.89.0 * ci: Bump stable Rust toolchain to 1.89.0 * ci: Bump nightly Rust toolchain to nightly-2025-05-26 * chore: Bump Hadolint to 2.14.0 * chore: Bump pre-commit hook refs - Bump pre-commit/pre-commit-hooks to 6.0.0 - Bump koalaman/shellcheck-precommit to 0.11.0 - Bump astral-sh/ruff-pre-commit to 0.14.2 - Bump rhysd/actionlint to 1.7.8 - Bump hadolint/hadolint to 2.14.0 * ci: Bump workflow actions - Bump softprops/action-gh-release to v2.4.1 - Bump actions/checkout to v5.0.0 - Bump stackabletech/actions to v0.10.3 - Bump actions/setup-python to v6.0.0 - Bump docker/login-action to v3.6.0
1 parent 0d05f67 commit ac16273

File tree

9 files changed

+47
-47
lines changed

9 files changed

+47
-47
lines changed

.github/workflows/boil_pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- "Cargo.*"
1111

1212
env:
13-
RUST_VERSION: 1.87.0
13+
RUST_VERSION: 1.89.0
1414

1515
jobs:
1616
# This job is always run to ensure we don't miss any new upstream advisories
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
persist-credentials: false
5656

57-
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
57+
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
5858
with:
5959
toolchain: ${{ env.RUST_VERSION }}
6060
targets: ${{ matrix.targets.target }}

.github/workflows/boil_release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "boil-[0-9]+.[0-9]+.[0-9]+**"
88

99
env:
10-
RUST_VERSION: 1.87.0
10+
RUST_VERSION: 1.89.0
1111

1212
jobs:
1313
create-release:
@@ -28,7 +28,7 @@ jobs:
2828
args: --latest --strip header
2929

3030
- name: Create Draft Release
31-
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
31+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
3232
with:
3333
body: ${{ steps.changelog.outputs.content }}
3434
draft: true
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
persist-credentials: false
5353

54-
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
54+
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
5555
with:
5656
toolchain: ${{ env.RUST_VERSION }}
5757
targets: ${{ matrix.targets.target }}
@@ -67,7 +67,7 @@ jobs:
6767
run: mv "target/$TARGET/release/boil" "boil-$TARGET"
6868

6969
- name: Upload Artifact to Release
70-
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
70+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
7171
with:
7272
draft: false
7373
files: boil-${{ matrix.targets.target }}

.github/workflows/mirror.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- amd64
3737
- arm64
3838
steps:
39-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040
with:
4141
persist-credentials: false
4242

@@ -57,7 +57,7 @@ jobs:
5757
echo "IMAGE_REPOSITORY=$(.scripts/get_repo_name.sh)" | tee -a "$GITHUB_ENV"
5858
5959
- name: Publish Container Image on oci.stackable.tech
60-
uses: stackabletech/actions/publish-image@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
60+
uses: stackabletech/actions/publish-image@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
6161
with:
6262
image-registry-uri: oci.stackable.tech
6363
image-registry-username: robot$sdp+github-action-build
@@ -73,7 +73,7 @@ jobs:
7373
id-token: write
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
76+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7777
with:
7878
persist-credentials: false
7979

@@ -84,7 +84,7 @@ jobs:
8484
echo "IMAGE_REPOSITORY=$(.scripts/get_repo_name.sh)" | tee -a "$GITHUB_ENV"
8585
8686
- name: Publish and Sign Image Index Manifest to oci.stackable.tech
87-
uses: stackabletech/actions/publish-image-index-manifest@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
87+
uses: stackabletech/actions/publish-image-index-manifest@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
8888
with:
8989
image-registry-uri: oci.stackable.tech
9090
image-registry-username: robot$sdp+github-action-build

.github/workflows/pr_pre-commit.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ on:
66

77
env:
88
# Keep in sync with across other repos like operator-rs and operator-templating
9-
RUST_TOOLCHAIN_VERSION: "nightly-2025-05-26"
10-
HADOLINT_VERSION: "v2.12.0"
11-
PYTHON_VERSION: "3.12"
9+
RUST_TOOLCHAIN_VERSION: "nightly-2025-10-23"
10+
HADOLINT_VERSION: "v2.14.0"
11+
PYTHON_VERSION: "3.14"
1212

1313
jobs:
1414
pre-commit:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818
with:
1919
persist-credentials: false
2020
fetch-depth: 0
21-
- uses: stackabletech/actions/run-pre-commit@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
21+
- uses: stackabletech/actions/run-pre-commit@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
2222
with:
2323
python-version: ${{ env.PYTHON_VERSION }}
2424
rust: ${{ env.RUST_TOOLCHAIN_VERSION }}

.github/workflows/preflight.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ on:
2222
workflow_dispatch:
2323
inputs:
2424
tag:
25-
description: 'Image version (0.0.0-dev, 23.11.0, etc)'
25+
description: "Image version (0.0.0-dev, 23.11.0, etc)"
2626
required: true
27-
default: '0.0.0-dev'
27+
default: "0.0.0-dev"
2828
type: string
2929
submit:
30-
description: 'Submit results to the RH portal'
30+
description: "Submit results to the RH portal"
3131
required: true
3232
default: false
3333
type: boolean
3434
registry:
35-
description: 'Image repository.'
35+
description: "Image repository."
3636
required: true
37-
default: 'oci.stackable.tech'
37+
default: "oci.stackable.tech"
3838
type: string
3939
organization:
40-
description: 'Organization name within the given registry'
40+
description: "Organization name within the given registry"
4141
required: true
42-
default: 'sdp'
42+
default: "sdp"
4343
type: string
4444
jobs:
4545
preflight:
@@ -76,12 +76,12 @@ jobs:
7676
env:
7777
GITHUB_REF_NAME: ${{ github.ref_name }}
7878
steps:
79-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
79+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8080
with:
8181
persist-credentials: false
82-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
82+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
8383
with:
84-
python-version: '3.x'
84+
python-version: "3.x"
8585
- run: pip install image-tools-stackabletech==0.0.16
8686
- name: Install preflight
8787
run: |

.github/workflows/reusable_build_image.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
name: Generate Runner Dimension
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3434
with:
3535
persist-credentials: false
3636
- id: runners
@@ -55,11 +55,11 @@ jobs:
5555
name: Generate Version Dimension
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5959
with:
6060
persist-credentials: false
6161
- id: shard
62-
uses: stackabletech/actions/shard@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
62+
uses: stackabletech/actions/shard@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
6363
with:
6464
product-name: ${{ inputs.product-name }}
6565
outputs:
@@ -80,24 +80,24 @@ jobs:
8080
runner: ${{ fromJson(needs.generate_runner_dimension.outputs.runners) }}
8181
steps:
8282
- name: Checkout Repository
83-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
83+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8484
with:
8585
persist-credentials: false
8686

8787
- name: Free Disk Space
88-
uses: stackabletech/actions/free-disk-space@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
88+
uses: stackabletech/actions/free-disk-space@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
8989

9090
- name: Build Product Image
9191
id: build
92-
uses: stackabletech/actions/build-product-image@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
92+
uses: stackabletech/actions/build-product-image@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
9393
with:
9494
registry-namespace: ${{ inputs.registry-namespace }}
9595
product-name: ${{ inputs.product-name }}
9696
product-version: ${{ matrix.versions }}
9797
sdp-version: ${{ inputs.sdp-version }}
9898

9999
- name: Publish Container Image on oci.stackable.tech
100-
uses: stackabletech/actions/publish-image@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
100+
uses: stackabletech/actions/publish-image@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
101101
with:
102102
image-registry-uri: oci.stackable.tech
103103
image-registry-username: robot$${{ inputs.registry-namespace }}+github-action-build
@@ -118,12 +118,12 @@ jobs:
118118
versions: ${{ fromJson(needs.generate_version_dimension.outputs.versions) }}
119119
steps:
120120
- name: Checkout Repository
121-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
121+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
122122
with:
123123
persist-credentials: false
124124

125125
- name: Publish and Sign Image Index Manifest to oci.stackable.tech
126-
uses: stackabletech/actions/publish-image-index-manifest@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
126+
uses: stackabletech/actions/publish-image-index-manifest@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
127127
with:
128128
image-registry-uri: oci.stackable.tech
129129
image-registry-username: robot$${{ inputs.registry-namespace }}+github-action-build
@@ -138,7 +138,7 @@ jobs:
138138
if: failure() || (github.run_attempt > 1 && !cancelled())
139139
steps:
140140
- name: Send Notification
141-
uses: stackabletech/actions/send-slack-notification@a5d39a4eb109bb6af3c152800701c86e98bfe1a5 # v0.10.1
141+
uses: stackabletech/actions/send-slack-notification@75e0756966dea229d697165bfd06ba79abcda72c # v0.10.3
142142
with:
143143
publish-manifests-result: ${{ needs.publish_manifests.result }}
144144
build-result: ${{ needs.build.result }}

.github/workflows/ubi-rust-builder.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- .github/workflows/ubi-rust-builder.yml
1515
- .github/workflows/reusable_build_image.yaml
1616
schedule:
17-
- cron: '30 4 * * *'
17+
- cron: "30 4 * * *"
1818
workflow_dispatch:
1919

2020
jobs:
@@ -28,11 +28,11 @@ jobs:
2828
ubi-version: ["ubi9"]
2929
runs-on: ${{ matrix.runner }}
3030
steps:
31-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3232
with:
3333
persist-credentials: false
3434
- name: Login to Stackable Harbor
35-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
35+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
3636
with:
3737
registry: oci.stackable.tech
3838
username: robot$sdp+github-action-build
@@ -69,11 +69,11 @@ jobs:
6969
runs-on: ubuntu-latest
7070
needs: ["build"]
7171
steps:
72-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7373
with:
7474
persist-credentials: false
7575
- name: Login to Stackable Harbor
76-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
76+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
7777
with:
7878
registry: oci.stackable.tech
7979
username: robot$sdp+github-action-build

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ default_language_version:
77

88
repos:
99
- repo: https://github.com/pre-commit/pre-commit-hooks
10-
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # 5.0.0
10+
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # 6.0.0
1111
hooks:
1212
- id: trailing-whitespace
1313
- id: end-of-file-fixer
@@ -26,7 +26,7 @@ repos:
2626
- id: markdownlint
2727

2828
- repo: https://github.com/koalaman/shellcheck-precommit
29-
rev: 2491238703a5d3415bb2b7ff11388bf775372f29 # 0.10.0
29+
rev: 99470f5e12208ff0fb17ab81c3c494f7620a1d8d # 0.11.0
3030
hooks:
3131
- id: shellcheck
3232
args: ["--severity=info"]
@@ -35,20 +35,20 @@ repos:
3535
# If you do not, you will need to delete the cached ruff binary shown in the
3636
# error message
3737
- repo: https://github.com/astral-sh/ruff-pre-commit
38-
rev: d19233b89771be2d89273f163f5edc5a39bbc34a # 0.11.12
38+
rev: 3db93a2be6f214ed722bf7bce095ec1b1715422a # 0.14.2
3939
hooks:
4040
# Run the linter.
4141
- id: ruff-check
4242
# Run the formatter.
4343
- id: ruff-format
4444

4545
- repo: https://github.com/rhysd/actionlint
46-
rev: 03d0035246f3e81f36aed592ffb4bebf33a03106 # 1.7.7
46+
rev: e7d448ef7507c20fc4c88a95d0c448b848cd6127 # 1.7.8
4747
hooks:
4848
- id: actionlint
4949

5050
- repo: https://github.com/hadolint/hadolint
51-
rev: b3555ba9c2bfd9401e79f2f0da68dd1ae38e10c7 # 2.12.0
51+
rev: 57e1618d78fd469a92c1e584e8c9313024656623 # 2.14.0
5252
hooks:
5353
- id: hadolint
5454

@@ -72,7 +72,7 @@ repos:
7272
- id: cargo-rustfmt
7373
name: cargo-rustfmt
7474
language: system
75-
entry: cargo +nightly-2025-05-26 fmt --all -- --check
75+
entry: cargo +nightly-2025-10-23 fmt --all -- --check
7676
stages: [pre-commit, pre-merge-commit]
7777
pass_filenames: false
7878
files: \.rs$

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.87.0"
2+
channel = "1.89.0"
33
profile = "default"

0 commit comments

Comments
 (0)