Skip to content

Commit d48c0d8

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

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

bootstrap.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,21 @@ 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+
curl -L https://foundry.paradigm.xyz | bash
91+
foundryup -i $foundry_version
92+
else
93+
encourage_dev_container
94+
echo "Installation: https://book.getfoundry.sh/getting-started/installation"
95+
echo " curl -L https://foundry.paradigm.xyz | bash"
96+
echo " foundryup -i $foundry_version"
97+
exit 1
98+
fi
9399
fi
94100
done
95101
# 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)