Skip to content

Convert to NPM; language fixes. #1

Convert to NPM; language fixes.

Convert to NPM; language fixes. #1

Workflow file for this run

name: contracts-template-tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
forge-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: bahmutov/npm-install@v1
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: install libraries
run: git submodule update --init
- name: Run tests
run: FOUNDRY_PROFILE=default forge snapshot # TODO: Change to fork once fork tests can be run
- name: Check contract sizes
run: forge build --sizes