Skip to content

Commit

Permalink
fix(ci): Install fixed foundry version in CI (#5582)
Browse files Browse the repository at this point in the history
We were using different foundry versions locally and on CI. This was the
cause of CI errors since formatting didn't match between our pinned
version locally and the one run on CI.
  • Loading branch information
spalladino authored Apr 5, 2024
1 parent 820ac8c commit 46fdb37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l1-contracts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN curl -L https://foundry.paradigm.xyz | bash

# Set env variables for foundry and venv
ENV PATH="${PATH}:/root/.foundry/bin:/root/.venv/bin"
RUN foundryup
RUN foundryup --version nightly-de33b6af53005037b463318d2628b5cfcaf39916

WORKDIR /usr/src/l1-contracts
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion l1-contracts/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN curl -L https://foundry.paradigm.xyz | bash

# Set env variables for foundry and venv
ENV PATH="${PATH}:/root/.foundry/bin:/root/.venv/bin"
RUN foundryup
RUN foundryup --version nightly-de33b6af53005037b463318d2628b5cfcaf39916

# Install yarn and solhint.
RUN npm install --global yarn solhint
Expand Down

0 comments on commit 46fdb37

Please sign in to comment.