2222 name : Build contracts
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/checkout@v4
25+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2626
2727 # Cache Scarb / cargo artifacts and any (future) root-level
2828 # node_modules. Keyed on the lockfile hash so a dependency change
3232 # included so that when npm-based jobs are added in the future,
3333 # the cache key already covers them.
3434 - name : Cache Scarb, Cargo and node_modules
35- uses : actions/cache@v4
35+ uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
3636 with :
3737 path : |
3838 ~/.cargo/registry
4646 restore-keys : |
4747 ${{ runner.os }}-scarb-cargo-
4848
49- - uses : software-mansion/setup-scarb@v1
49+ - uses : software-mansion/setup-scarb@2a96b748888e3329ee44ac9ac073d930e692b3cd # v1.6.2
5050 - name : Install Rust toolchain
51- uses : dtolnay/rust-toolchain@stable
51+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
5252 with :
5353 targets : wasm32-unknown-unknown
5454 components : rustfmt
6666 # Audit dependencies for security advisories, license compliance,
6767 # and duplicate crate versions.
6868 - name : Install cargo-deny
69- uses : taiki-e/install-action@v2
69+ uses : taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2.87.2
7070 with :
7171 tool : cargo-deny
7272
@@ -78,10 +78,10 @@ jobs:
7878 name : Test contracts
7979 runs-on : ubuntu-latest
8080 steps :
81- - uses : actions/checkout@v4
81+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
8282
8383 - name : Cache Scarb, Cargo and node_modules
84- uses : actions/cache@v4
84+ uses : actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
8585 with :
8686 path : |
8787 ~/.cargo/registry
@@ -95,14 +95,14 @@ jobs:
9595 restore-keys : |
9696 ${{ runner.os }}-scarb-cargo-
9797
98- - uses : software-mansion/setup-scarb@v1
98+ - uses : software-mansion/setup-scarb@2a96b748888e3329ee44ac9ac073d930e692b3cd # v1.6.2
9999 - name : Install Rust toolchain
100- uses : dtolnay/rust-toolchain@stable
100+ uses : dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
101101 with :
102102 toolchain : stable
103103
104104 - name : Install cargo-deny
105- uses : taiki-e/install-action@v2
105+ uses : taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2.87.2
106106 with :
107107 tool : cargo-deny
108108
@@ -127,7 +127,7 @@ jobs:
127127 run : cargo test --workspace --locked -- bench_ --nocapture 2>&1 | tee bench-output.txt
128128
129129 - name : Upload bench artifact
130- uses : actions/upload-artifact@v4
130+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
131131 with :
132132 name : bench-output
133133 path : onchain/bench-output.txt
@@ -141,10 +141,10 @@ jobs:
141141 name : Backend lint
142142 runs-on : ubuntu-latest
143143 steps :
144- - uses : actions/checkout@v4
144+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
145145
146146 - name : Setup Node.js
147- uses : actions/setup-node@v4
147+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
148148 with :
149149 node-version : 20
150150 cache : npm
@@ -176,10 +176,10 @@ jobs:
176176 name : Backend tests
177177 runs-on : ubuntu-latest
178178 steps :
179- - uses : actions/checkout@v4
179+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
180180
181181 - name : Setup Node.js
182- uses : actions/setup-node@v4
182+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
183183 with :
184184 node-version : 20
185185 cache : npm
@@ -204,10 +204,10 @@ jobs:
204204 name : Frontend lint
205205 runs-on : ubuntu-latest
206206 steps :
207- - uses : actions/checkout@v4
207+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
208208
209209 - name : Setup Node.js
210- uses : actions/setup-node@v4
210+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
211211 with :
212212 node-version : 20
213213 cache : npm
@@ -240,10 +240,10 @@ jobs:
240240 name : Frontend build
241241 runs-on : ubuntu-latest
242242 steps :
243- - uses : actions/checkout@v4
243+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
244244
245245 - name : Setup Node.js
246- uses : actions/setup-node@v4
246+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
247247 with :
248248 node-version : 20
249249 cache : npm
@@ -265,10 +265,10 @@ jobs:
265265 runs-on : ubuntu-latest
266266 needs : frontend-build
267267 steps :
268- - uses : actions/checkout@v4
268+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
269269
270270 - name : Setup Node.js
271- uses : actions/setup-node@v4
271+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
272272 with :
273273 node-version : 20
274274 cache : npm
@@ -307,10 +307,10 @@ jobs:
307307 name : Frontend tests
308308 runs-on : ubuntu-latest
309309 steps :
310- - uses : actions/checkout@v4
310+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
311311
312312 - name : Setup Node.js
313- uses : actions/setup-node@v4
313+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
314314 with :
315315 node-version : 20
316316 cache : npm
0 commit comments