Skip to content

Merge pull request #88 from filecoin-project/feature/powervoting-cont… #5

Merge pull request #88 from filecoin-project/feature/powervoting-cont…

Merge pull request #88 from filecoin-project/feature/powervoting-cont… #5

name: power-oracle-contracts
on:
push:
branches: [ "main" ]
paths:
- 'power-oracle-contracts/*'
pull_request:
branches: [ "main" ]
paths:
- 'power-oracle-contracts/*'
env:
FOUNDRY_PROFILE: ci
jobs:
check-power-oracle-contracts:
name: foundry project
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
cd ./power-oracle-contracts
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
cd ./power-oracle-contracts
forge test -vvv
id: test