Skip to content

small updates to comments, readability, & gas-optimization #70

small updates to comments, readability, & gas-optimization

small updates to comments, readability, & gas-optimization #70

Workflow file for this run

name: build, lint and test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: 6.32.2
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test