Skip to content

Dzejkop/optimism-staging-deployment-logs #371

Dzejkop/optimism-staging-deployment-logs

Dzejkop/optimism-staging-deployment-logs #371

Workflow file for this run

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
name: Unit Tests
jobs:
tests:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
- name: Install Dependencies
run: make install
- name: Build Contracts
run: make build
- name: Run Tests
run: make test
- name: Check formatting
run: make format-check
- name: Run Benchmarks
run: |
make bench
make snapshot