Skip to content

Add calculate_present_value #454

Add calculate_present_value

Add calculate_present_value #454

Workflow file for this run

name: Solidity Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: solidity lint
runs-on: ubuntu-latest
env:
GOERLI_RPC_URL: ${{ secrets.GOERLI_RPC_URL }}
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: install node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: install packages
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # if needed
- name: install foundry
uses: foundry-rs/[email protected]
with:
version: nightly
- name: lint
run: make lint-sol