Skip to content

Commit 5fffd46

Browse files
committed
chore: Bump foundry version to 1.3.3
1 parent 7b9f72c commit 5fffd46

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

bootstrap.sh

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,20 @@ function check_toolchains {
8181
exit 1
8282
fi
8383
# Check foundry version.
84-
local foundry_version="nightly-99634144b6c9371982dcfc551a7975c5dbf9fad8"
84+
local foundry_version="v1.3.3"
8585
for tool in forge anvil; do
8686
if ! $tool --version 2> /dev/null | grep "${foundry_version#nightly-}" > /dev/null; then
87-
encourage_dev_container
8887
echo "$tool not in PATH or incorrect version (requires $foundry_version)."
89-
echo "Installation: https://book.getfoundry.sh/getting-started/installation"
90-
echo " curl -L https://foundry.paradigm.xyz | bash"
91-
echo " foundryup -i $foundry_version"
92-
exit 1
88+
if [ "${CI:-0}" -eq 1 ]; then
89+
echo "Attempting install of required foundry version $foundry_version"
90+
foundryup -i $foundry_version
91+
else
92+
encourage_dev_container
93+
echo "Installation: https://book.getfoundry.sh/getting-started/installation"
94+
echo " curl -L https://foundry.paradigm.xyz | bash"
95+
echo " foundryup -i $foundry_version"
96+
exit 1
97+
fi
9398
fi
9499
done
95100
# Check Node.js version.

build-images/src/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RUN git clone https://github.com/tpoechtrager/osxcross.git \
6666
########################################################################################################################
6767
# Build foundry.
6868
FROM base-build AS foundry
69-
ENV FOUNDRY_VERSION=nightly-99634144b6c9371982dcfc551a7975c5dbf9fad8
69+
ENV FOUNDRY_VERSION=v1.3.3
7070
ENV FOUNDRY_BIN_DIR="/root/.foundry/bin"
7171
ENV RUSTUP_HOME=/opt/rust/rustup
7272
ENV CARGO_HOME=/opt/rust/cargo

0 commit comments

Comments
 (0)