Skip to content

[Feat] update Vault and RewardsDistributor logic with IStrategyManager #58

[Feat] update Vault and RewardsDistributor logic with IStrategyManager

[Feat] update Vault and RewardsDistributor logic with IStrategyManager #58

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
hardhat-tests:
name: Hardhat Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Compile
run: yarn compile
- name: Run unit tests
run: yarn test
forge-tests:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test