mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
ci: Pin rustc
to version 1.78 due to a type inference regression
Changelog-None
This commit is contained in:
parent
15fb37f6d1
commit
76ad48cd1b
1 changed files with 7 additions and 1 deletions
8
.github/scripts/setup.sh
vendored
8
.github/scripts/setup.sh
vendored
|
@ -1,7 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
export RUST_VERSION=stable
|
||||
|
||||
# Fix the RUST_VERSION as 1.80 appears to have a regression (the
|
||||
# `time` crate about a missing type annotation.)
|
||||
export RUST_VERSION=1.78
|
||||
|
||||
sudo useradd -ms /bin/bash tester
|
||||
sudo apt-get update -qq
|
||||
|
@ -56,6 +59,9 @@ sudo chmod 0440 /etc/sudoers.d/tester
|
|||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
|
||||
-y --default-toolchain ${RUST_VERSION}
|
||||
|
||||
echo "rustc version = $(rustc --version)"
|
||||
echo "cargo version = $(cargo --version)"
|
||||
|
||||
# We also need a relatively recent protobuf-compiler, at least 3.12.0,
|
||||
# in order to support the experimental `optional` flag.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue