Make splits receivers lists calldata (#345) #993
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: check formatting | |
run: forge fmt --check | |
- name: make fuzz tests on main branch extensive | |
if: ${{ github.event_name == 'push' }} | |
run: echo FOUNDRY_FUZZ_RUNS=50000 >> $GITHUB_ENV | |
- name: run tests | |
run: FOUNDRY_PROFILE=optimized forge test --deny-warnings | |
- name: run Slither | |
uses: crytic/[email protected] | |
with: | |
slither-version: '0.10.0' |