Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
9613898
chore(deps): bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
1b62970
feat: add tests for hardhat-v3 + parser changes
imadarchid Dec 4, 2025
a409263
fix: filter compiler outputs + detect stdout issue
imadarchid Dec 4, 2025
5d20fd2
fix: adjust regex
imadarchid Dec 4, 2025
9e83312
chore(deps): bump sigstore/gh-action-sigstore-python from 3.1.0 to 3.2.0
dependabot[bot] Dec 8, 2025
729a89d
Merge pull request #630 from crytic/dependabot/github_actions/dev/sig…
elopez Dec 8, 2025
dcfde59
Merge pull request #628 from crytic/dependabot/github_actions/dev/act…
elopez Dec 8, 2025
83ab824
chore: rename regex checks
imadarchid Dec 9, 2025
0b696d4
fix: add support for hh3 in filename lookups
imadarchid Dec 9, 2025
8822762
test: add hh3 ci test script
imadarchid Dec 9, 2025
1959533
Merge branch 'dev' into dev
imadarchid Dec 9, 2025
bb5132c
fix: move filename parsing + add new test to ci
imadarchid Dec 9, 2025
c78c2c7
Merge branch 'dev' of https://github.com/imadarchid/crytic-compile in…
imadarchid Dec 9, 2025
8ec7570
fix: node version for ci + linting issues
imadarchid Dec 9, 2025
01249cc
fix: clean debugging prints
imadarchid Dec 9, 2025
7dbcc13
chore: add docstring for get_targets_json
imadarchid Dec 9, 2025
1a39817
fix: keep both file filters
imadarchid Dec 9, 2025
8f67c8f
chore: formatting hardhat.py
imadarchid Dec 9, 2025
96e4a8e
chore(deps): bump actions/download-artifact from 6 to 7
dependabot[bot] Dec 15, 2025
c177659
chore(deps): bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
a5dbeb5
Merge pull request #633 from crytic/dependabot/github_actions/dev/act…
elopez Dec 16, 2025
125aa5f
Merge pull request #632 from crytic/dependabot/github_actions/dev/act…
elopez Dec 16, 2025
6b41064
fix: handle unexpected output + add exec permissions to test script
imadarchid Dec 24, 2025
aa6c066
Merge branch 'dev' into dev
imadarchid Dec 24, 2025
62ce55b
Merge pull request #631 from imadarchid/dev
smonicas Jan 5, 2026
552f05c
Add support for Sourcify
elopez Jan 15, 2026
6195052
Bump minimum Python to 3.10, modernize with ruff, uv and hatchling
elopez Jan 16, 2026
835f0f9
lint: apply ruff changes
elopez Jan 16, 2026
dbab3ad
lint: fix mypy errors
elopez Jan 16, 2026
7540b11
lint: fix more ruff check errors
elopez Jan 16, 2026
da26485
lint: disable long lines ruff check lint
elopez Jan 16, 2026
2d66a2c
Migrate type checking to ty
elopez Jan 16, 2026
485b5e0
lint: fix ty type checking errors
elopez Jan 16, 2026
417e75b
lint: remove old pylint comments
elopez Jan 16, 2026
d0b8a9b
README: mention Sourcify support
elopez Jan 16, 2026
a1d8b91
docs: add CLAUDE.md with project context
dguido Jan 16, 2026
4c736b6
build: modernize tooling to uv/ruff/ty
dguido Jan 16, 2026
e7c0497
fix: add trailing newline to doc.yml
dguido Jan 16, 2026
b7eb08a
ci: add prek pre-commit hooks and modernize workflows
dguido Jan 16, 2026
5cb8aa3
ci: optimize CI speed with ubuntu-slim and npm caching
dguido Jan 16, 2026
48f5d7e
fix(ci): remove npm caching that breaks CI
dguido Jan 16, 2026
cab818d
fix(ci): fix dapp git:// protocol and hardhat Node version
dguido Jan 16, 2026
756d4af
fix(ci): handle unset LD_LIBRARY_PATH in dapp script
dguido Jan 16, 2026
59c7e8c
Merge pull request #635 from crytic/dev-sourcify
elopez Jan 20, 2026
d7b3df2
Update actionlint, add to CI, fix warnings
elopez Jan 20, 2026
ed37988
dependabot: use `uv` ecosystem
elopez Jan 20, 2026
d371c83
ci: setup-uv: remove redundant `enable-cache`
elopez Jan 20, 2026
7807a1b
shellcheck: remove unused ignores
elopez Jan 20, 2026
102565b
ci: pytest: correct python upper bound
elopez Jan 20, 2026
0518db5
Merge pull request #636 from crytic/dev-modernize
elopez Jan 20, 2026
e75f1a1
Unify `dev` and `master`
elopez Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "dev"
schedule:
interval: "weekly"
- package-ecosystem: github-actions
directory: /
target-branch: master
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
all:
patterns: ["*"]

- package-ecosystem: uv
directory: /
target-branch: master
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
all:
patterns: ["*"]
49 changes: 0 additions & 49 deletions .github/workflows/black.yml

This file was deleted.

110 changes: 66 additions & 44 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,50 @@ name: CI scripts

on:
push:
branches:
- master
- dev
branches: [master]
pull_request:
schedule:
# run CI every day even if no PRs/merges occur
- cron: '0 12 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-2025"]
python: ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.13"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]') }}
type: ["brownie", "buidler", "dapp", "embark", "hardhat", "solc", "truffle", "waffle", "foundry", "standard", "vyper", "solc_multi_file", "hardhat_multi_file"]
python: >-
${{
(github.event_name == 'pull_request' && fromJSON('["3.10", "3.14"]'))
|| fromJSON('["3.10", "3.11", "3.12", "3.13", "3.14"]')
}}
type:
- brownie
- buidler
- dapp
- embark
- hardhat
- solc
- truffle
- waffle
- foundry
- standard
- vyper
- solc_multi_file
- hardhat_multi_file
- hardhat_v3
include:
# buidler requires older NodeJS
- type: buidler
node-version: 12

- type: hardhat_v3
node-version: 22
exclude:
# Currently broken, tries to pull git:// which is blocked by GH
- type: embark
Expand All @@ -38,39 +57,42 @@ jobs:
- os: windows-2025
type: foundry
steps:
- uses: actions/checkout@v5
- name: Set up shell
if: runner.os == 'Windows'
run: |
echo 'C:\msys64\mingw64\bin' >> "$GITHUB_PATH"
echo 'C:\msys64\usr\bin' >> "$GITHUB_PATH"
- name: Set up Node
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version || '18.15' }}
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
pip install .
solc-select use 0.5.7 --always-install
- name: Set up nix
if: matrix.type == 'dapp'
uses: cachix/install-nix-action@v31
- name: Set up cachix
if: matrix.type == 'dapp'
uses: cachix/cachix-action@v16
with:
name: dapp
- name: Install Foundry
if: matrix.type == 'foundry'
uses: foundry-rs/foundry-toolchain@v1
- name: Run Tests
env:
TEST_TYPE: ${{ matrix.type }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
bash "scripts/ci_test_${TEST_TYPE}.sh"
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up shell
if: runner.os == 'Windows'
run: |
printf 'C:\\msys64\\mingw64\\bin\n' >> "$GITHUB_PATH"
printf 'C:\\msys64\\usr\\bin\n' >> "$GITHUB_PATH"
- name: Set up Node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node-version || '20' }}
- name: Set up Python ${{ matrix.python }}
uses: astral-sh/setup-uv@f06b870e0a91d23284a3013acc55e6f88ab4b904 # v7
with:
python-version: ${{ matrix.python }}
activate-environment: true
- name: Install dependencies
run: |
uv pip install .
solc-select use 0.5.7 --always-install
- name: Set up nix
if: matrix.type == 'dapp'
uses: cachix/install-nix-action@bec50b45a8bb06017c42af46702a3f502adcfa9e # v31
- name: Set up cachix
if: matrix.type == 'dapp'
uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
with:
name: dapp
- name: Install Foundry
if: matrix.type == 'foundry'
uses: foundry-rs/foundry-toolchain@8b0419c685ef46cb79ec93fbdc131174afceb730 # v1
- name: Run Tests
env:
TEST_TYPE: ${{ matrix.type }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
bash "scripts/ci_test_${TEST_TYPE}.sh"
27 changes: 0 additions & 27 deletions .github/workflows/darglint.yml

This file was deleted.

19 changes: 11 additions & 8 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,25 @@ jobs:
environment:
name: Crytic-Compile Documentation
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Pages
uses: actions/configure-pages@v5
- uses: actions/setup-python@v6
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- uses: astral-sh/setup-uv@f06b870e0a91d23284a3013acc55e6f88ab4b904 # v7
with:
python-version: '3.8'
- run: pip install -e ".[doc]"
python-version: "3.10"
activate-environment: true
- run: uv pip install -e ".[doc]"
- run: pdoc -o html/ crytic_compile
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
with:
# Upload the doc
path: './html/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
48 changes: 0 additions & 48 deletions .github/workflows/etherscan.yml

This file was deleted.

Loading
Loading