Skip to content

Bump word-wrap from 1.2.3 to 1.2.5 #3

Bump word-wrap from 1.2.3 to 1.2.5

Bump word-wrap from 1.2.3 to 1.2.5 #3

Workflow file for this run

name: Protocol Foundry tests
on: [push, pull_request]
jobs:
check:
defaults:
run:
working-directory: packages/protocol
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Foundry cache
id: foundry-cache
uses: actions/cache@v3
with:
path: ./cache
key: ${{ runner.os }}-foundry-cache
- name: Foundry out
id: foundry-out
uses: actions/cache@v3
with:
path: ./out
key: ${{ runner.os }}-foundry-out
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Install forge dependencies
run: forge install
# "Run tests" already tries to compile the contracts
# Making it explicit here to have easier to read errors
- name: Compile Contracts
run: forge compile
- name: Run tests
# can't use gas limit because some setUp function use more than the limit
run: forge test -vvv # --block-gas-limit 20000000