12
12
# Deny warnings in CI
13
13
RUSTFLAGS : " -D warnings"
14
14
# The Nightly version used for cargo-udeps, might need updating from time to time.
15
- PINNED_NIGHTLY : nightly-2022-11-08
16
- # The version of cargo-udeps to use, might need updating from time to time .
17
- CARGO_UDEPS_VERSION : 0.1.35
15
+ PINNED_NIGHTLY : nightly-2022-12-15
16
+ # Prevent Github API rate limiting .
17
+ LIGHTHOUSE_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
18
jobs :
19
19
target-branch-check :
20
20
name : target-branch-check
53
53
- name : Get latest version of stable Rust
54
54
run : rustup update stable
55
55
- name : Install Protoc
56
- uses : arduino/setup-protoc@v1
56
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
57
57
with :
58
58
repo-token : ${{ secrets.GITHUB_TOKEN }}
59
59
- name : Install ganache
97
97
- name : Get latest version of stable Rust
98
98
run : rustup update stable
99
99
- name : Install Protoc
100
- uses : arduino/setup-protoc@v1
100
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
101
101
with :
102
102
repo-token : ${{ secrets.GITHUB_TOKEN }}
103
103
- name : Run beacon_chain tests for all known forks
@@ -111,7 +111,7 @@ jobs:
111
111
- name : Get latest version of stable Rust
112
112
run : rustup update stable
113
113
- name : Install Protoc
114
- uses : arduino/setup-protoc@v1
114
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
115
115
with :
116
116
repo-token : ${{ secrets.GITHUB_TOKEN }}
117
117
- name : Run operation_pool tests for all known forks
@@ -135,7 +135,7 @@ jobs:
135
135
- name : Get latest version of stable Rust
136
136
run : rustup update stable
137
137
- name : Install Protoc
138
- uses : arduino/setup-protoc@v1
138
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
139
139
with :
140
140
repo-token : ${{ secrets.GITHUB_TOKEN }}
141
141
- name : Install ganache
@@ -151,7 +151,7 @@ jobs:
151
151
- name : Get latest version of stable Rust
152
152
run : rustup update stable
153
153
- name : Install Protoc
154
- uses : arduino/setup-protoc@v1
154
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
155
155
with :
156
156
repo-token : ${{ secrets.GITHUB_TOKEN }}
157
157
- name : Run state_transition_vectors in release.
@@ -165,7 +165,7 @@ jobs:
165
165
- name : Get latest version of stable Rust
166
166
run : rustup update stable
167
167
- name : Install Protoc
168
- uses : arduino/setup-protoc@v1
168
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
169
169
with :
170
170
repo-token : ${{ secrets.GITHUB_TOKEN }}
171
171
- name : Run consensus-spec-tests with blst, milagro and fake_crypto
@@ -191,7 +191,7 @@ jobs:
191
191
- name : Get latest version of stable Rust
192
192
run : rustup update stable
193
193
- name : Install Protoc
194
- uses : arduino/setup-protoc@v1
194
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
195
195
with :
196
196
repo-token : ${{ secrets.GITHUB_TOKEN }}
197
197
- name : Install ganache
@@ -207,7 +207,7 @@ jobs:
207
207
- name : Get latest version of stable Rust
208
208
run : rustup update stable
209
209
- name : Install Protoc
210
- uses : arduino/setup-protoc@v1
210
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
211
211
with :
212
212
repo-token : ${{ secrets.GITHUB_TOKEN }}
213
213
- name : Install ganache
@@ -223,7 +223,7 @@ jobs:
223
223
- name : Get latest version of stable Rust
224
224
run : rustup update stable
225
225
- name : Install Protoc
226
- uses : arduino/setup-protoc@v1
226
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
227
227
with :
228
228
repo-token : ${{ secrets.GITHUB_TOKEN }}
229
229
- name : Install ganache
@@ -239,7 +239,7 @@ jobs:
239
239
- name : Get latest version of stable Rust
240
240
run : rustup update stable
241
241
- name : Install Protoc
242
- uses : arduino/setup-protoc@v1
242
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
243
243
with :
244
244
repo-token : ${{ secrets.GITHUB_TOKEN }}
245
245
- name : Install ganache
@@ -255,7 +255,7 @@ jobs:
255
255
- name : Get latest version of stable Rust
256
256
run : rustup update stable
257
257
- name : Install Protoc
258
- uses : arduino/setup-protoc@v1
258
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
259
259
with :
260
260
repo-token : ${{ secrets.GITHUB_TOKEN }}
261
261
- name : Install ganache
@@ -287,7 +287,7 @@ jobs:
287
287
- name : Get latest version of stable Rust
288
288
run : rustup update stable
289
289
- name : Install Protoc
290
- uses : arduino/setup-protoc@v1
290
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
291
291
with :
292
292
repo-token : ${{ secrets.GITHUB_TOKEN }}
293
293
- name : Run exec engine integration tests in release
@@ -301,7 +301,7 @@ jobs:
301
301
- name : Get latest version of stable Rust
302
302
run : rustup update stable
303
303
- name : Install Protoc
304
- uses : arduino/setup-protoc@v1
304
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
305
305
with :
306
306
repo-token : ${{ secrets.GITHUB_TOKEN }}
307
307
- name : Typecheck benchmark code without running it
@@ -315,34 +315,13 @@ jobs:
315
315
- name : Get latest version of stable Rust
316
316
run : rustup update stable
317
317
- name : Install Protoc
318
- uses : arduino/setup-protoc@v1
318
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
319
319
with :
320
320
repo-token : ${{ secrets.GITHUB_TOKEN }}
321
321
- name : Lint code for quality and style with Clippy
322
322
run : make lint
323
323
- name : Certify Cargo.lock freshness
324
324
run : git diff --exit-code Cargo.lock
325
- disallowed-from-async-lint :
326
- name : disallowed-from-async-lint
327
- runs-on : ubuntu-latest
328
- needs : cargo-fmt
329
- continue-on-error : true
330
- steps :
331
- - uses : actions/checkout@v3
332
- - name : Install SigP Clippy fork
333
- run : |
334
- cd ..
335
- git clone https://github.com/michaelsproul/rust-clippy.git
336
- cd rust-clippy
337
- git checkout 31a49666ccfcd7963b63345d6ce757c373f22c2a
338
- cargo build --release --bin cargo-clippy --bin clippy-driver
339
- cargo build --release --bin cargo-clippy --bin clippy-driver -Zunstable-options --out-dir $(rustc --print=sysroot)/bin
340
- - name : Install Protoc
341
- uses : arduino/setup-protoc@v1
342
- with :
343
- repo-token : ${{ secrets.GITHUB_TOKEN }}
344
- - name : Run Clippy with the disallowed-from-async lint
345
- run : make nightly-lint
346
325
check-msrv :
347
326
name : check-msrv
348
327
runs-on : ubuntu-latest
@@ -352,7 +331,7 @@ jobs:
352
331
- name : Install Rust @ MSRV (${{ needs.extract-msrv.outputs.MSRV }})
353
332
run : rustup override set ${{ needs.extract-msrv.outputs.MSRV }}
354
333
- name : Install Protoc
355
- uses : arduino/setup-protoc@v1
334
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
356
335
with :
357
336
repo-token : ${{ secrets.GITHUB_TOKEN }}
358
337
- name : Run cargo check
@@ -394,7 +373,7 @@ jobs:
394
373
- name : Install Rust (${{ env.PINNED_NIGHTLY }})
395
374
run : rustup toolchain install $PINNED_NIGHTLY
396
375
- name : Install Protoc
397
- uses : arduino/setup-protoc@v1
376
+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
398
377
with :
399
378
repo-token : ${{ secrets.GITHUB_TOKEN }}
400
379
- name : Install cargo-udeps
0 commit comments