Updated SAI fixed price #127
Workflow file for this run
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
name: Solidity | |
on: [push] | |
jobs: | |
solidity_coverage: | |
environment: ci | |
name: Solidity Test Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Yarn cache | |
uses: actions/cache@v2 | |
env: | |
cache-name: yarn-cache | |
with: | |
path: | | |
~/.npm | |
~/.cache | |
**/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: yarn install --frozen-lockfile | |
- name: Run coverage | |
run: | | |
yarn run compile | |
yarn run coverage | |
env: | |
MAINNET_PK: ${{ secrets.MAINNET_PK }} | |
MAINNET_URL: ${{ secrets.MAINNET_URL }} | |
solidity_test: | |
name: Solidity Tests | |
environment: ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Yarn cache | |
uses: actions/cache@v2 | |
env: | |
cache-name: yarn-cache | |
with: | |
path: | | |
~/.npm | |
~/.cache | |
**/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: yarn install --frozen-lockfile | |
- name: Run tests | |
run: | | |
yarn run compile | |
yarn run test | |
env: | |
MAINNET_PK: ${{ secrets.MAINNET_PK }} | |
MAINNET_URL: ${{ secrets.MAINNET_URL }} | |
verify_proposed_uav: | |
name: Verify Proposed UAV | |
environment: ci | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Yarn cache | |
uses: actions/cache@v2 | |
env: | |
cache-name: yarn-cache | |
with: | |
path: | | |
~/.npm | |
~/.cache | |
**/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- run: yarn install --frozen-lockfile | |
- name: Run tests | |
run: | | |
yarn compile | |
yarn verify-uav --production 0x65c816077c29b557bee980ae3cc2dce80204a0c5 --proposed 0x50ce56A3239671Ab62f185704Caedf626352741e | |
env: | |
MAINNET_PK: ${{ secrets.MAINNET_PK }} | |
MAINNET_URL: ${{ secrets.MAINNET_URL }} |