Skip to content

Commit 62b16c3

Browse files
authored
Merge pull request #541 from crytic/dev
sync master<>dev
2 parents 3a4b0de + 2bbe730 commit 62b16c3

19 files changed

+132
-90
lines changed

.github/workflows/black.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Set up Python 3.8
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: 3.8
3030

.github/workflows/ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: ["ubuntu-latest", "windows-2022"]
25+
python: ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.12"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11", "3.12"]') }}
2526
type: ["brownie", "buidler", "dapp", "embark", "hardhat", "solc", "truffle", "waffle", "foundry", "standard", "vyper", "solc_multi_file", "hardhat_multi_file"]
2627
exclude:
2728
# Currently broken, tries to pull git:// which is blocked by GH
@@ -32,6 +33,15 @@ jobs:
3233
# Explore foundry support in windows
3334
- os: windows-2022
3435
type: foundry
36+
# brownie does not install correctly with Python 3.10
37+
- python: 3.10
38+
type: brownie
39+
# brownie does not install correctly with Python 3.11
40+
- python: 3.11
41+
type: brownie
42+
# brownie does not install correctly with Python 3.12
43+
- python: 3.12
44+
type: brownie
3545
steps:
3646
- uses: actions/checkout@v4
3747
- name: Set up shell
@@ -40,24 +50,23 @@ jobs:
4050
echo 'C:\msys64\mingw64\bin' >> "$GITHUB_PATH"
4151
echo 'C:\msys64\usr\bin' >> "$GITHUB_PATH"
4252
- name: Set up Node
43-
uses: actions/setup-node@v3
53+
uses: actions/setup-node@v4
4454
with:
4555
node-version: 18.15
46-
- name: Set up Python 3.8
47-
uses: actions/setup-python@v4
56+
- name: Set up Python ${{ matrix.python }}
57+
uses: actions/setup-python@v5
4858
with:
49-
python-version: 3.8
59+
python-version: ${{ matrix.python }}
5060
- name: Install dependencies
5161
run: |
52-
pip install "solc-select>=v1.0.0b1"
53-
solc-select use 0.5.7 --always-install
5462
pip install .
63+
solc-select use 0.5.7 --always-install
5564
- name: Set up nix
5665
if: matrix.type == 'dapp'
57-
uses: cachix/install-nix-action@v23
66+
uses: cachix/install-nix-action@v24
5867
- name: Set up cachix
5968
if: matrix.type == 'dapp'
60-
uses: cachix/cachix-action@v12
69+
uses: cachix/cachix-action@v13
6170
with:
6271
name: dapp
6372
- name: Install Foundry

.github/workflows/darglint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up Python 3.8
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: 3.8
2525
- name: Run Tests

.github/workflows/doc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ jobs:
3030
- name: Checkout
3131
uses: actions/checkout@v4
3232
- name: Setup Pages
33-
uses: actions/configure-pages@v3
34-
- uses: actions/setup-python@v4
33+
uses: actions/configure-pages@v4
34+
- uses: actions/setup-python@v5
3535
with:
3636
python-version: '3.8'
3737
- run: pip install -e ".[doc]"
3838
- run: pdoc -o html/ crytic_compile
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
4141
with:
4242
# Upload the doc
4343
path: './html/'
4444
- name: Deploy to GitHub Pages
4545
id: deployment
46-
uses: actions/deploy-pages@v2
46+
uses: actions/deploy-pages@v4

.github/workflows/etherscan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo 'C:\msys64\mingw64\bin' >> "$GITHUB_PATH"
3232
echo 'C:\msys64\usr\bin' >> "$GITHUB_PATH"
3333
- name: Set up Python 3.8
34-
uses: actions/setup-python@v4
34+
uses: actions/setup-python@v5
3535
with:
3636
python-version: 3.8
3737
- name: Install dependencies

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Set up Python 3.8
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: 3.8
3030

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Set up Python 3.8
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: 3.8
3030

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414

1515
- name: Set up Python
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: '3.x'
1919

@@ -24,7 +24,7 @@ jobs:
2424
python -m build
2525
2626
- name: Upload distributions
27-
uses: actions/upload-artifact@v3
27+
uses: actions/upload-artifact@v4
2828
with:
2929
name: crytic-compile-dists
3030
path: dist/
@@ -39,16 +39,16 @@ jobs:
3939
- build-release
4040
steps:
4141
- name: fetch dists
42-
uses: actions/download-artifact@v3
42+
uses: actions/download-artifact@v4
4343
with:
4444
name: crytic-compile-dists
4545
path: dist/
4646

4747
- name: publish
48-
uses: pypa/[email protected].10
48+
uses: pypa/[email protected].11
4949

5050
- name: sign
51-
uses: sigstore/[email protected].0
51+
uses: sigstore/[email protected].1
5252
with:
5353
inputs: ./dist/*.tar.gz ./dist/*.whl
5454
release-signing-artifacts: true

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v4
2525

2626
- name: Set up Python 3.8
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@v5
2828
with:
2929
python-version: 3.8
3030

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030
- name: Set up Python 3.8
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: 3.8
3434

0 commit comments

Comments
 (0)