fix: Optimism StandardBridge bridgeERC20To() prototype #1553
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: Checks | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "yarn" | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "yarn" | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
forge: | |
name: Forge | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "yarn" | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install forge dependencies | |
run: forge install | |
- name: Inspect storage layouts | |
run: ./scripts/checkStorageLayout.sh | |
- name: Run forge test | |
run: forge test --match-path test/foundry/local/**/*.t.sol | |
solhint: | |
name: Solhint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: "yarn" | |
- name: Install packages | |
run: yarn install --frozen-lockfile | |
- name: Solhint | |
run: yarn lint-contracts |