Skip to content

Commit 9c52b54

Browse files
author
bohendo
committed
Merge branch 'dev' into dev-auto-clean
2 parents cf3bfd0 + 94a80d6 commit 9c52b54

40 files changed

+1343
-933
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"

.github/workflows/black.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Set up Python 3.8
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v4
2424
with:
2525
python-version: 3.8
2626

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: ["ubuntu-latest", "windows-2022"]
21-
type: ["brownie", "buidler", "dapp", "embark", "etherlime", "hardhat", "solc", "truffle", "waffle", "foundry"]
21+
type: ["brownie", "buidler", "dapp", "embark", "etherlime", "hardhat", "solc", "truffle", "waffle", "foundry", "standard"]
2222
exclude:
2323
# Currently broken, tries to pull git:// which is blocked by GH
2424
- type: embark
@@ -39,17 +39,17 @@ jobs:
3939
id: node
4040
shell: bash
4141
run: |
42-
if [ ${{ matrix.type }} = etherlime ]; then
43-
echo '::set-output name=version::10.17.0'
42+
if [ "${{ matrix.type }}" = "etherlime" ]; then
43+
echo 'version=10.17.0' >> "$GITHUB_OUTPUT"
4444
else
45-
echo '::set-output name=version::lts/*'
45+
echo 'version=lts/*' >> "$GITHUB_OUTPUT"
4646
fi
4747
- name: Set up Node
48-
uses: actions/setup-node@v2
48+
uses: actions/setup-node@v3
4949
with:
5050
node-version: ${{ steps.node.outputs.version }}
5151
- name: Set up Python 3.8
52-
uses: actions/setup-python@v3
52+
uses: actions/setup-python@v4
5353
with:
5454
python-version: 3.8
5555
- name: Install dependencies
@@ -59,10 +59,10 @@ jobs:
5959
pip install .
6060
- name: Set up nix
6161
if: matrix.type == 'dapp'
62-
uses: cachix/install-nix-action@v16
62+
uses: cachix/install-nix-action@v18
6363
- name: Set up cachix
6464
if: matrix.type == 'dapp'
65-
uses: cachix/cachix-action@v10
65+
uses: cachix/cachix-action@v12
6666
with:
6767
name: dapp
6868
- name: Run Tests

.github/workflows/darglint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
tests:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v3
1717
- name: Set up Python 3.8
18-
uses: actions/setup-python@v1
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: 3.8
2121
- name: Run Tests

.github/workflows/etherscan.yml

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

.github/workflows/linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Set up Python 3.8
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v4
2424
with:
2525
python-version: 3.8
2626

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Set up Python 3.8
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v4
2424
with:
2525
python-version: 3.8
2626

.github/workflows/pylint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Set up Python 3.8
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v4
2424
with:
2525
python-version: 3.8
2626

.github/workflows/pytest.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Pytest
3+
4+
defaults:
5+
run:
6+
# To load bashrc
7+
shell: bash -ieo pipefail {0}
8+
9+
on:
10+
push:
11+
branches:
12+
- main
13+
- dev
14+
pull_request:
15+
branches: [main, dev]
16+
schedule:
17+
# run CI every day even if no PRs/merges occur
18+
- cron: '0 12 * * *'
19+
20+
jobs:
21+
tests:
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Set up Python 3.8
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: 3.8
30+
31+
# Used by ci_test.sh
32+
- name: Install dependencies
33+
run: |
34+
python setup.py install
35+
pip install pytest
36+
pip install solc-select
37+
- name: Run Tests
38+
run: |
39+
pytest tests/test_metadata.py

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
*.nix
2+
*.pyc
13
.idea/
2-
crytic_compile.egg-info/
34
__pycache__/
4-
*.pyc
5+
artifacts
56
build/
6-
dist/
7+
cache
8+
crytic_compile.egg-info/
9+
dist/
10+
node_modules
11+
package-lock.json
12+
result

0 commit comments

Comments
 (0)