Skip to content

Commit 7c24b7f

Browse files
authored
chore: Bump actions in CI and our own actions (#94)
* ci: Bump actions - Bump actions/checkout to v6.0.1 - Bump dtolnay/rust-toolchain - Bump actions/upload-artifact to v6.0.0 - Bump actions/download-artifact to v7.0.0 - Bump softprops/action-gh-release to v2.5.0 * chore(build-container-image): Bump actions - Bump docker/setup-buildx-action to v3.12.0 * chore(build-product-image): Bump actions - Bump docker/setup-buildx-action to v3.12.0 * chore(publish-image): Bump actions - Bump anchore/sbom-action/download-syft to v0.21.1 * chore(run-pre-commit): Bump actions - Bump cachix/install-nix-action to v31.9.0 - Bump actions/setup-python to v6.1.0 - Bump actions/cache to v5.0.1 - Bump dtolnay/rust-toolchain - Bump Swatinem/rust-cache to v2.8.2 * chore(send-slack-notification): Bump actions - Bump actions/download-artifact to v7.0.0 - Bump actions/upload-artifact to v6.0.0
1 parent 3a219a5 commit 7c24b7f

9 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/build_interu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
runs-on: ${{ inputs.os }}
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2727
with:
2828
persist-credentials: false
2929

30-
- uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
30+
- uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
3131
with:
3232
toolchain: ${{ env.RUST_VERSION }}
3333
targets: ${{ inputs.target }}
@@ -44,6 +44,6 @@ jobs:
4444

4545
- name: Upload Artifact
4646
if: inputs.upload
47-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
47+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4848
with:
4949
path: interu-${{ inputs.target }}

.github/workflows/pr_pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
pre-commit:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
11+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1212
with:
1313
persist-credentials: false
1414
submodules: recursive

.github/workflows/release_interu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
needs: [build]
2626
steps:
2727
- name: Download Artifacts
28-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
28+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
2929
with:
3030
path: artifacts
3131

3232
- name: Upload Release Binary
33-
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
33+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
3434
with:
3535
files: artifacts/artifact/*

.github/workflows/smoke-build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Generate Version List
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2424
with:
2525
persist-credentials: false
2626

@@ -47,7 +47,7 @@ jobs:
4747
versions: ${{ fromJson(needs.generate-matrix.outputs.versions) }}
4848
steps:
4949
- name: Checkout Repository
50-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
50+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5151
with:
5252
persist-credentials: false
5353

@@ -86,7 +86,7 @@ jobs:
8686
versions: ${{ fromJson(needs.generate-matrix.outputs.versions) }}
8787
steps:
8888
- name: Checkout Repository
89-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
89+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
9090
with:
9191
persist-credentials: false
9292

@@ -110,7 +110,7 @@ jobs:
110110
versions: ${{ fromJson(needs.generate-matrix.outputs.versions) }}
111111
steps:
112112
- name: Checkout Repository
113-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
113+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
114114
with:
115115
persist-credentials: false
116116
submodules: recursive
@@ -137,7 +137,7 @@ jobs:
137137
if: failure() || github.run_attempt > 1
138138
steps:
139139
- name: Checkout Repository
140-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
140+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
141141
with:
142142
persist-credentials: false
143143

build-container-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
using: composite
4141
steps:
4242
- name: Setup Docker Buildx
43-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
43+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
4444

4545
- name: Build ${{ inputs.image-name }}:${{ inputs.image-index-manifest-tag }}
4646
id: build-image

build-product-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
using: composite
4040
steps:
4141
- name: Setup Docker Buildx
42-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
42+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
4343

4444
- name: Setup boil (${{ inputs.boil-version }})
4545
env:

publish-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ runs:
5858
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
5959

6060
- name: Set up syft
61-
uses: anchore/sbom-action/download-syft@8e94d75ddd33f69f691467e42275782e4bfefe84 # v0.20.9
61+
uses: anchore/sbom-action/download-syft@0b82b0b1a22399a1c542d4d656f70cd903571b5c # v0.21.1
6262

6363
- name: Login to Container Registry (${{ inputs.image-registry-uri }})
6464
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0

run-pre-commit/action.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ runs:
4242
4343
- name: Setup nix
4444
if: inputs.nix
45-
uses: cachix/install-nix-action@fd24c48048070c1be9acd18c9d369a83f0fe94d7 # v31.8.1
45+
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0
4646
with:
4747
github_access_token: ${{ inputs.nix-github-token }}
4848
install_url: https://releases.nixos.org/nix/nix-${{ inputs.nix }}/install
4949

5050
- name: Setup Python
51-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
51+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
5252
with:
5353
python-version: ${{ inputs.python-version }}
5454
# It doesn't make a whole lot of sense to use the pre-commit config file
@@ -72,7 +72,7 @@ runs:
7272
# This caches downloaded pre-commit hook artifacts and results in faster
7373
# workflow runs after an initial hydration run with the exact same hooks
7474
- name: Setup pre-commit Cache
75-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
75+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
7676
with:
7777
path: ~/.cache/pre-commit
7878
key: pre-commit-${{ inputs.pre-commit-version }}-python${{ inputs.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -89,21 +89,21 @@ runs:
8989
- name: Setup Rust Toolchain Cache
9090
id: rust-toolchain-cache
9191
if: ${{ inputs.rust }}
92-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
92+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
9393
with:
9494
path: ~/.rustup/toolchains
9595
key: rust-toolchains-${{ inputs.rust }}-components-${{ env.RUST_COMPONENTS }}
9696

9797
- name: Setup Rust Toolchain
98-
uses: dtolnay/rust-toolchain@6d653acede28d24f02e3cd41383119e8b1b35921
98+
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561
9999
if: ${{ inputs.rust && steps.rust-toolchain-cache.outputs.cache-hit != 'true' }}
100100
with:
101101
toolchain: ${{ inputs.rust }}
102102
components: ${{ inputs.rust-components }}
103103

104104
- name: Setup Rust Cache
105105
if: ${{ inputs.rust }}
106-
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
106+
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
107107

108108
- name: Install Hadolint
109109
if: ${{ inputs.hadolint }}

send-slack-notification/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ runs:
6868
- name: Retrieve Slack Thread ID
6969
id: retrieve-slack-thread-id
7070
continue-on-error: true
71-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
71+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
7272
with:
7373
name: slack-thread-id-${{ github.run_id }}
7474

@@ -139,7 +139,7 @@ runs:
139139
140140
- name: Store Slack Thread ID as Artifact
141141
if: steps.retrieve-slack-thread-id.outcome == 'failure'
142-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
142+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
143143
with:
144144
name: slack-thread-id-${{ github.run_id }}
145145
path: slack-thread-id

0 commit comments

Comments
 (0)