fix: governor incorrect divisor (#378) #6
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: "Build the contracts and print their size" | |
run: | | |
forge --version | |
forge build --sizes | |
- name: Run tests | |
run: OUTPUT_FILENAME=ci.json CONSTANTS_FILENAME=Optimism.json forge test -vvv | |
env: | |
OPTIMISM_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }} | |
PRIVATE_KEY_DEPLOY: ${{ secrets.PRIVATE_KEY_DEPLOY }} | |
- name: slither-static-analysis | |
continue-on-error: true | |
uses: luisfontes19/[email protected] | |