-
Notifications
You must be signed in to change notification settings - Fork 979
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1586 from crytic/dev
Merge dev into master
- Loading branch information
Showing
202 changed files
with
5,776 additions
and
1,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
--- | ||
name: CI | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- 'slither/tools/doctor/**' | ||
- '.github/workflows/doctor.yml' | ||
|
||
jobs: | ||
slither-doctor: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: ["ubuntu-latest", "windows-2022"] | ||
python: ["3.8", "3.9", "3.10", "3.11"] | ||
exclude: | ||
# strange failure | ||
- os: windows-2022 | ||
python: 3.8 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Try system-wide Slither | ||
run: | | ||
echo "::group::Install slither" | ||
pip3 install . | ||
echo "::endgroup::" | ||
# escape cwd so python doesn't pick up local module | ||
cd / | ||
echo "::group::Via module" | ||
python3 -m slither.tools.doctor . | ||
echo "::endgroup::" | ||
echo "::group::Via binary" | ||
slither-doctor . | ||
echo "::endgroup::" | ||
- name: Try user Slither | ||
run: | | ||
echo "::group::Install slither" | ||
pip3 install --user . | ||
echo "::endgroup::" | ||
# escape cwd so python doesn't pick up local module | ||
cd / | ||
echo "::group::Via module" | ||
python3 -m slither.tools.doctor . | ||
echo "::endgroup::" | ||
echo "::group::Via binary" | ||
slither-doctor . | ||
echo "::endgroup::" | ||
- name: Try venv Slither | ||
run: | | ||
echo "::group::Install slither" | ||
python3 -m venv venv | ||
source venv/bin/activate || source venv/Scripts/activate | ||
hash -r | ||
pip3 install . | ||
echo "::endgroup::" | ||
# escape cwd so python doesn't pick up local module | ||
cd / | ||
echo "::group::Via module" | ||
python3 -m slither.tools.doctor . | ||
echo "::endgroup::" | ||
echo "::group::Via binary" | ||
slither-doctor . | ||
echo "::endgroup::" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* @montyly @0xalpharush @smonicas | ||
/slither/tools/read_storage/ @0xalpharush | ||
/slither/tools/doctor/ @elopez | ||
/slither/slithir/ @montyly | ||
/slither/analyses/ @montyly | ||
/.github/workflows/ @elopez |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.