Skip to content

...

... #63

Workflow file for this run

on:
push:
branches:
- "main"
name: onPush
jobs:
check:
name: Foundry project
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 Contracts
run: forge build
# - name: 'Create env file'
# run: |
# touch .env
# echo MAINNET_RPC_URL=${{ secrets.MAINNET_RPC_URL }} >> .env
# echo ARBITRUM_RPC_URL=${{ secrets.ARBITRUM_RPC_URL }} >> .env
# - name: Run unit tests
# run: forge test
# - name: Run slither mainnet Curve Compounders
# uses: crytic/[email protected]
# with:
# solc-version: 0.8.17
# fail-on: medium
# target: src/mainnet/compounders/curve
# - name: Run slither mainnet Balancer Compounders
# uses: crytic/[email protected]
# with:
# solc-version: 0.8.17
# fail-on: medium
# target: src/mainnet/compounders/balancer
# - name: Run slither mainnet Concentrators
# uses: crytic/[email protected]
# with:
# solc-version: 0.8.17
# fail-on: medium
# target: src/mainnet/concentrators
# - name: Run slither Arbitrum Compounders
# uses: crytic/[email protected]
# with:
# solc-version: 0.8.17
# fail-on: medium
# target: src/arbitrum/compounders/gmx
# - name: Run slither Shared
# uses: crytic/[email protected]
# with:
# solc-version: 0.8.17
# fail-on: medium
# target: src/shared/compounders