Add a Safe Guard that implements a timelock for the upgrade Safe #1160
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: Integration Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly-fe2acca4e379793539db80e032d76ffe0110298b | |
- name: Install dependencies | |
run: git submodule update --recursive --init | |
- name: Check contract sizes | |
run: forge build --sizes --skip UniswapV4UnitTest.t.sol --skip SafeGuard.sol | |
- name: Run tests | |
run: forge test --skip UniswapV4UnitTest.t.sol --skip SafeGuard.sol | |
env: | |
FOUNDRY_PROFILE: integration | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
- name: Install Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install node dependencies | |
run: npm install | |
- name: Gas comparison | |
run: npm run compare_gas |