Gelatolockbox adapter #461
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: Build And Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: CI/CD | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" | |
cache: "yarn" | |
- name: Yarn install | |
run: yarn install | |
- name: Forge install | |
run: yarn forge:install | |
- name: Forge build | |
run: yarn forge:build | |
- name: Run Forge tests | |
env: | |
OPTIMISM_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }} | |
ARBITRUM_RPC_URL: ${{ secrets.ARBITRUM_RPC_URL }} | |
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }} | |
run: yarn forge:test |