Skip to content

CS-78 feat: required bond methods #174

CS-78 feat: required bond methods

CS-78 feat: required bond methods #174

Workflow file for this run

---
name: Tests and Checks
on:
workflow_dispatch:
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
security:
uses: lidofinance/linters/.github/workflows/security.yml@master
actions:
uses: lidofinance/linters/.github/workflows/actions.yml@master
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
persist-credentials: false
- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: yarn
cache-dependency-path: "**/yarn.lock"
- name: Install Node dependencies
run: yarn install --immutable
- name: Prettier check
run: yarn lint:check
foundry:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
persist-credentials: false
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
- name: Run Forge tests
run: |
forge test -vvv
env:
RPC_URL: ${{ secrets.RPC_URL }}
LIDO_LOCATOR_ADDRESS: "0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb"
WSTETH_ADDRESS: "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0"