@@ -26,10 +26,10 @@ jobs:
2626 runner : arm-ubuntu-latest-8core
2727 asset_name : ${{ github.event.repository.name }}-linux-aarch64-latest
2828 runs-on : ${{ matrix.runner }}
29- container : registry.famedly.net/docker-oss/rust-container:nightly
29+ container : registry.famedly.net/docker-oss/rust-container:nightly@sha256:2aaa8961f8d80a5bc6d3858589e01d4a52d3a5f268aeed94755b4ad12f1c1872
3030 steps :
3131 - name : Checkout code
32- uses : actions/checkout@v4
32+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
3333
3434 - name : Set up Rust
3535 uses : famedly/backend-build-workflows/.github/actions/rust-prepare@main
@@ -39,13 +39,13 @@ jobs:
3939 gitlab_pass : ${{ secrets.GITLAB_PASS }}
4040
4141 - name : Caching
42- uses : Swatinem/rust-cache@68b3cb7503c78e67dae8373749990a220eb65352
42+ uses : Swatinem/rust-cache@c071727fc96109277f0135b3f13503db23b6cc1b
4343 with :
4444 cache-on-failure : true
4545 cache-all-crates : true
4646
4747 - name : Install additional cargo tooling
48- uses : taiki-e/cache-cargo-install-action@3d5e3efe44b020826abe522d18cb4457042280ef
48+ uses : taiki-e/cache-cargo-install-action@b8c5be6c3fb064f797977463ac00b01844751632
4949 with :
5050 tool : cargo-auditable
5151
@@ -58,12 +58,12 @@ jobs:
5858 run : " mv target/release/${{ github.event.repository.name }} target/release/${{ matrix.asset_name }}"
5959
6060 - name : Attest
61- uses : actions/attest-build-provenance@v1
61+ uses : actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1
6262 with :
6363 subject-path : ' ${{ github.workspace }}/target/release/${{ matrix.asset_name }}'
6464
6565 - name : Upload binary
66- uses : actions/upload-artifact@v4
66+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
6767 with :
6868 name : release-${{ matrix.asset_name }}
6969 path : ' ${{ github.workspace }}/target/release/${{ matrix.asset_name }}'
@@ -74,10 +74,10 @@ jobs:
7474 contents : read
7575 attestations : write
7676 runs-on : ubuntu-latest
77- container : registry.famedly.net/docker-oss/rust-container:nightly
77+ container : registry.famedly.net/docker-oss/rust-container:nightly@sha256:2aaa8961f8d80a5bc6d3858589e01d4a52d3a5f268aeed94755b4ad12f1c1872
7878 steps :
7979 - name : Checkout code
80- uses : actions/checkout@v4
80+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
8181
8282 - name : Set up Rust
8383 uses : famedly/backend-build-workflows/.github/actions/rust-prepare@main
@@ -87,18 +87,18 @@ jobs:
8787 gitlab_pass : ${{ secrets.GITLAB_PASS }}
8888
8989 - name : Caching
90- uses : Swatinem/rust-cache@68b3cb7503c78e67dae8373749990a220eb65352
90+ uses : Swatinem/rust-cache@c071727fc96109277f0135b3f13503db23b6cc1b
9191 with :
9292 cache-on-failure : true
9393 cache-all-crates : true
9494
9595 - name : Install cargo-sbom
96- uses : taiki-e/cache-cargo-install-action@3d5e3efe44b020826abe522d18cb4457042280ef
96+ uses : taiki-e/cache-cargo-install-action@b8c5be6c3fb064f797977463ac00b01844751632
9797 with :
9898 tool : cargo-sbom
9999
100100 - name : Install cyclonedx-rust-cargo
101- uses : taiki-e/cache-cargo-install-action@3d5e3efe44b020826abe522d18cb4457042280ef
101+ uses : taiki-e/cache-cargo-install-action@b8c5be6c3fb064f797977463ac00b01844751632
102102 with :
103103 tool : cargo-cyclonedx
104104
@@ -110,21 +110,21 @@ jobs:
110110 run : cargo cyclonedx -f json
111111
112112 - name : Attest SPDX SBOM
113- uses : actions/attest-build-provenance@v1
113+ uses : actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1
114114 with :
115115 subject-path : ' ${{ github.workspace }}/${{ github.event.repository.name }}.spdx.json'
116116 - name : Attest CycloneDX SBOM
117- uses : actions/attest-build-provenance@v1
117+ uses : actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v1
118118 with :
119119 subject-path : ' ${{ github.workspace }}/${{ github.event.repository.name }}.cdx.json'
120120
121121 - name : Upload SPDX SBOM
122- uses : actions/upload-artifact@v4
122+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
123123 with :
124124 name : release-sbom-spdx
125125 path : ' ${{ github.workspace }}/${{ github.event.repository.name}}.spdx.json'
126126 - name : Upload CycloneDX SBOM
127- uses : actions/upload-artifact@v4
127+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
128128 with :
129129 name : release-sbom-cdx
130130 path : ' ${{ github.workspace }}/${{ github.event.repository.name }}.cdx.json'
@@ -134,14 +134,14 @@ jobs:
134134 needs : [build, sbom]
135135 steps :
136136 - name : Download artifacts
137- uses : actions/download-artifact@v4
137+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
138138 with :
139139 pattern : release-*
140140 path : artifacts
141141 merge-multiple : true
142142
143143 - name : Create release
144- uses : softprops/action-gh-release@79721680dfc87fb0f44dfe65df68961056d55c38
144+ uses : softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe
145145 with :
146146 files : artifacts/*
147147 prerelease : " ${{ contains(github.ref_name, 'rc') }}"
0 commit comments