Revisit CrossChainReceiverFactory to make it more composable
#2850
Workflow file for this run
This file contains hidden or 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: Integration Tests | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Install Node.js 18.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 18.x | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: v1.5.1 | |
| - name: Install dependencies | |
| run: git submodule update --recursive --init | |
| - name: Install node dependencies | |
| run: npm install | |
| - name: Build AllowanceHolder and Deployer | |
| run: forge build -- src/allowanceholder/AllowanceHolder.sol src/deployer/Deployer.sol src/deployer/ModeDeployer.sol | |
| env: | |
| FOUNDRY_SOLC_VERSION: 0.8.25 | |
| - name: Run tests | |
| run: forge test --skip 'src/*' --skip 'test/0.8.28/*' --skip 'test/integration/arbitrum/*' | |
| env: | |
| FOUNDRY_PROFILE: integration | |
| MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
| BNB_MAINNET_RPC_URL: ${{ secrets.BNB_MAINNET_RPC_URL }} | |
| PLASMA_MAINNET_RPC_URL: ${{ secrets.PLASMA_MAINNET_RPC_URL }} | |
| ARBITRUM_MAINNET_RPC_URL: ${{ secrets.ARBITRUM_MAINNET_RPC_URL }} | |
| BASE_MAINNET_RPC_URL: ${{ secrets.BASE_MAINNET_RPC_URL }} | |
| MONAD_MAINNET_RPC_URL: ${{ secrets.MONAD_MAINNET_RPC_URL }} | |
| - name: Install ArbOS foundry fork | |
| run: | | |
| curl -sL -o arbos.tar.gz https://github.com/iosiro/arbos-foundry/releases/download/v0.1.1/arbos-foundry_v0.1.1_linux_amd64.tar.gz | |
| tar -xzf arbos.tar.gz | |
| - name: Run Arbitrum tests | |
| run: ./arbos-forge test --skip 'src/*' --skip 'test/0.8.28/*' --mp 'test/integration/arbitrum/*' | |
| env: | |
| FOUNDRY_PROFILE: integration | |
| ARBITRUM_MAINNET_RPC_URL: ${{ secrets.ARBITRUM_MAINNET_RPC_URL }} | |
| - name: Gas comparison | |
| run: npm run compare_gas | |
| - name: VIP signature check | |
| run: npm run check_vips |