Skip to content

upgraded packages

upgraded packages #454

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Install solhint
run: npm i -g solhint
- name: Check formatting
run: forge fmt --check
- name: Check solhint errors
run: solhint "src/**/*.sol"
- name: Install dependencies
run: forge install
- name: Check contract sizes
run: forge build --sizes --skip test
- name: Check gas snapshots
run: forge snapshot --check
- name: Run tests
run: forge test
env:
# Only fuzz intensely if we're running this action on a push to main or for a PR going into main:
FOUNDRY_PROFILE: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && 'intense' }}