-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,39 +14,9 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x, 18.x] | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Setup node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "14.x" | ||
- name: Cache node modules | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Cache compiler installations | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
~/.solcx | ||
~/.vvm | ||
key: ${{ runner.os }}-compiler-cache | ||
|
||
# - name: Set pip cache directory path | ||
# id: pip-cache-dir-path | ||
# run: | | ||
|
@@ -64,7 +34,10 @@ jobs: | |
# ${{ runner.os }}-pip- | ||
|
||
- name: Install python dependencies | ||
run: pip install -r requirements.txt && brownie pm install OpenZeppelin/[email protected] | ||
run: | | ||
pip install --upgrade pip setuptools wheel | ||
pip install PyYAML==5.4.1 # Install PyYAML first | ||
pip install -r requirements.txt && brownie pm install OpenZeppelin/[email protected] | ||
- name: Withdraw Fees | ||
run: echo $REWARDS_CRON && brownie networks import network-config.yaml true && brownie run scripts/contractInteraction/rewards_cron_amm.py --network=rsk-mainnet | ||
|