Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
faad8b64
Unverified
Commit
faad8b64
authored
Oct 06, 2022
by
mergify[bot]
Committed by
GitHub
Oct 06, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3656 from ethereum-optimism/slither-9.0
CI Builder: install slither==0.9.0
parents
1e51b79e
8ee8fb51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
serious-pianos-complain.md
.changeset/serious-pianos-complain.md
+5
-0
Dockerfile
ops/docker/ci-builder/Dockerfile
+1
-8
No files found.
.changeset/s
low-stingrays-rescue
.md
→
.changeset/s
erious-pianos-complain
.md
View file @
faad8b64
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
'
@eth-optimism/ci-builder'
:
patch
'
@eth-optimism/ci-builder'
:
patch
---
---
Install slither from a specific commit hash
Pin slither version to 0.9.0
ops/docker/ci-builder/Dockerfile
View file @
faad8b64
...
@@ -48,19 +48,12 @@ RUN apt-get update && \
...
@@ -48,19 +48,12 @@ RUN apt-get update && \
apt-get
install
-y
nodejs
&&
\
apt-get
install
-y
nodejs
&&
\
npm i
-g
yarn
&&
\
npm i
-g
yarn
&&
\
npm i
-g
depcheck
&&
\
npm i
-g
depcheck
&&
\
pip
install
slither-analyzer
==
0.9.0
&&
\
go
install
gotest.tools/gotestsum@latest
&&
\
go
install
gotest.tools/gotestsum@latest
&&
\
curl
-sSfL
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh
-s
--
-b
$(
go
env
GOPATH
)
/bin v1.48.0
&&
\
curl
-sSfL
https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh
-s
--
-b
$(
go
env
GOPATH
)
/bin v1.48.0
&&
\
curl
-fLSs
https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | bash
&&
\
curl
-fLSs
https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | bash
&&
\
chmod
+x /usr/local/bin/check-changed
chmod
+x /usr/local/bin/check-changed
# Install a specific version of slither. The current release does not work with our
# forge test contracts.
WORKDIR
/opt
RUN
git clone https://github.com/crytic/slither
&&
\
cd
slither
&&
\
git checkout 90d13cd3883404a86ef4b3dd6af4d5c234e69a54
&&
\
python3 setup.py
install
RUN
echo
"downloading solidity compilers"
&&
\
RUN
echo
"downloading solidity compilers"
&&
\
curl
-o
solc-linux-amd64-v0.5.17+commit.d19bba13
-sL
https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.5.17+commit.d19bba13
&&
\
curl
-o
solc-linux-amd64-v0.5.17+commit.d19bba13
-sL
https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.5.17+commit.d19bba13
&&
\
curl
-o
solc-linux-amd64-v0.8.9+commit.e5eed63a
-sL
https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.8.9+commit.e5eed63a
&&
\
curl
-o
solc-linux-amd64-v0.8.9+commit.e5eed63a
-sL
https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.8.9+commit.e5eed63a
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment