1313 RUSTFLAGS : " -D warnings"
1414 # The Nightly version used for cargo-udeps, might need updating from time to time.
1515 PINNED_NIGHTLY : nightly-2022-05-20
16+ # Prevent Github API rate limiting.
17+ LIGHTHOUSE_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1618jobs :
1719 target-branch-check :
1820 name : target-branch-check
5153 - name : Get latest version of stable Rust
5254 run : rustup update stable
5355 - name : Install Protoc
54- uses : arduino/setup-protoc@v1
56+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
5557 with :
5658 repo-token : ${{ secrets.GITHUB_TOKEN }}
5759 - name : Install ganache
9597 - name : Get latest version of stable Rust
9698 run : rustup update stable
9799 - name : Install Protoc
98- uses : arduino/setup-protoc@v1
100+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
99101 with :
100102 repo-token : ${{ secrets.GITHUB_TOKEN }}
101103 - name : Run beacon_chain tests for all known forks
@@ -109,7 +111,7 @@ jobs:
109111 - name : Get latest version of stable Rust
110112 run : rustup update stable
111113 - name : Install Protoc
112- uses : arduino/setup-protoc@v1
114+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
113115 with :
114116 repo-token : ${{ secrets.GITHUB_TOKEN }}
115117 - name : Run operation_pool tests for all known forks
@@ -133,7 +135,7 @@ jobs:
133135 - name : Get latest version of stable Rust
134136 run : rustup update stable
135137 - name : Install Protoc
136- uses : arduino/setup-protoc@v1
138+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
137139 with :
138140 repo-token : ${{ secrets.GITHUB_TOKEN }}
139141 - name : Install ganache
@@ -149,7 +151,7 @@ jobs:
149151 - name : Get latest version of stable Rust
150152 run : rustup update stable
151153 - name : Install Protoc
152- uses : arduino/setup-protoc@v1
154+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
153155 with :
154156 repo-token : ${{ secrets.GITHUB_TOKEN }}
155157 - name : Run state_transition_vectors in release.
@@ -163,7 +165,7 @@ jobs:
163165 - name : Get latest version of stable Rust
164166 run : rustup update stable
165167 - name : Install Protoc
166- uses : arduino/setup-protoc@v1
168+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
167169 with :
168170 repo-token : ${{ secrets.GITHUB_TOKEN }}
169171 - name : Run consensus-spec-tests with blst, milagro and fake_crypto
@@ -189,7 +191,7 @@ jobs:
189191 - name : Get latest version of stable Rust
190192 run : rustup update stable
191193 - name : Install Protoc
192- uses : arduino/setup-protoc@v1
194+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
193195 with :
194196 repo-token : ${{ secrets.GITHUB_TOKEN }}
195197 - name : Install ganache
@@ -205,7 +207,7 @@ jobs:
205207 - name : Get latest version of stable Rust
206208 run : rustup update stable
207209 - name : Install Protoc
208- uses : arduino/setup-protoc@v1
210+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
209211 with :
210212 repo-token : ${{ secrets.GITHUB_TOKEN }}
211213 - name : Install ganache
@@ -221,7 +223,7 @@ jobs:
221223 - name : Get latest version of stable Rust
222224 run : rustup update stable
223225 - name : Install Protoc
224- uses : arduino/setup-protoc@v1
226+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
225227 with :
226228 repo-token : ${{ secrets.GITHUB_TOKEN }}
227229 - name : Install ganache
@@ -237,7 +239,7 @@ jobs:
237239 - name : Get latest version of stable Rust
238240 run : rustup update stable
239241 - name : Install Protoc
240- uses : arduino/setup-protoc@v1
242+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
241243 with :
242244 repo-token : ${{ secrets.GITHUB_TOKEN }}
243245 - name : Install ganache
@@ -253,7 +255,7 @@ jobs:
253255 - name : Get latest version of stable Rust
254256 run : rustup update stable
255257 - name : Install Protoc
256- uses : arduino/setup-protoc@v1
258+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
257259 with :
258260 repo-token : ${{ secrets.GITHUB_TOKEN }}
259261 - name : Install ganache
@@ -285,7 +287,7 @@ jobs:
285287 - name : Get latest version of stable Rust
286288 run : rustup update stable
287289 - name : Install Protoc
288- uses : arduino/setup-protoc@v1
290+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
289291 with :
290292 repo-token : ${{ secrets.GITHUB_TOKEN }}
291293 - name : Run exec engine integration tests in release
@@ -299,7 +301,7 @@ jobs:
299301 - name : Get latest version of stable Rust
300302 run : rustup update stable
301303 - name : Install Protoc
302- uses : arduino/setup-protoc@v1
304+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
303305 with :
304306 repo-token : ${{ secrets.GITHUB_TOKEN }}
305307 - name : Typecheck benchmark code without running it
@@ -323,7 +325,7 @@ jobs:
323325 - name : Get latest version of stable Rust
324326 run : rustup update stable
325327 - name : Install Protoc
326- uses : arduino/setup-protoc@v1
328+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
327329 with :
328330 repo-token : ${{ secrets.GITHUB_TOKEN }}
329331 - name : Lint code for quality and style with Clippy
@@ -346,7 +348,7 @@ jobs:
346348 cargo build --release --bin cargo-clippy --bin clippy-driver
347349 cargo build --release --bin cargo-clippy --bin clippy-driver -Zunstable-options --out-dir $(rustc --print=sysroot)/bin
348350 - name : Install Protoc
349- uses : arduino/setup-protoc@v1
351+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
350352 with :
351353 repo-token : ${{ secrets.GITHUB_TOKEN }}
352354 - name : Run Clippy with the disallowed-from-async lint
@@ -360,7 +362,7 @@ jobs:
360362 - name : Install Rust @ MSRV (${{ needs.extract-msrv.outputs.MSRV }})
361363 run : rustup override set ${{ needs.extract-msrv.outputs.MSRV }}
362364 - name : Install Protoc
363- uses : arduino/setup-protoc@v1
365+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
364366 with :
365367 repo-token : ${{ secrets.GITHUB_TOKEN }}
366368 - name : Run cargo check
@@ -404,7 +406,7 @@ jobs:
404406 # NOTE: cargo-udeps version is pinned until this issue is resolved:
405407 # https://github.com/est31/cargo-udeps/issues/135
406408 - name : Install Protoc
407- uses : arduino/setup-protoc@v1
409+ uses : arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
408410 with :
409411 repo-token : ${{ secrets.GITHUB_TOKEN }}
410412 - name : Install cargo-udeps
0 commit comments