Skip to content

Commit

Permalink
ci: update workflow, bump min brownie version
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed Jan 3, 2021
1 parent 08d630a commit d5b86a5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,34 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WEB3_INFURA_PROJECT_ID: 44c6300c5e5b4b2da5fc42b06bf18a8e

# increasing available memory for node reduces issues with ganache crashing
# https://nodejs.org/api/cli.html#cli_max_old_space_size_size_in_megabytes
NODE_OPTIONS: --max_old_space_size=4096

jobs:

tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2

- name: Cache Solidity Installations
uses: actions/cache@v1
- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: ~/.solcx
key: ${{ runner.os }}-solcx-cache
path: |
~/.solcx
~/.vvm
key: compiler-cache

- name: Setup Node.js
uses: actions/setup-node@v1

- name: Install Ganache
run: npm install -g ganache-cli@6.8.2
run: npm install -g ganache-cli@6.12.1

- name: Setup Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.8

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
eth-brownie>=1.8.3,<2.0.0
eth-brownie>=1.12.0,<2.0.0

0 comments on commit d5b86a5

Please sign in to comment.