Skip to content

fix: add erc20 sending limit testcase #46

fix: add erc20 sending limit testcase

fix: add erc20 sending limit testcase #46

Workflow file for this run

name: Solidity CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
FOUNDRY_PROFILE: ci
jobs:
test:
strategy:
fail-fast: true
name: test
runs-on: ubuntu-latest
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: |
forge build --sizes
id: build
- name: Run Forge tests
run: |
FOUNDRY_PROFILE=intense forge test -vvv
id: test
slither:
strategy:
fail-fast: true
name: slither
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: crytic/[email protected]
coverage:
strategy:
fail-fast: true
name: coverage
runs-on: ubuntu-latest
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: |
forge build --sizes
id: build
- name: Run Forge coverage
run: |
forge coverage
id: coverage
gas-report:
strategy:
fail-fast: true
name: gas-report
runs-on: ubuntu-latest
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: |
forge build --sizes
id: build
- name: Run Forge tests
run: |
FOUNDRY_FUZZ_RUNS=1 forge test --gas-report
id: test