Skip to content

feat: Init unit tests #1

feat: Init unit tests

feat: Init unit tests #1

Workflow file for this run

name: CI
on:
pull_request:
env:
FOUNDRY_PROFILE: ci
concurrency:
group: ${{ github.ref }}-ci
cancel-in-progress: true
jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Show Forge version
run: forge --version
- name: Run Forge fmt
run: forge fmt --check
id: fmt
- name: Run Forge build
run: forge build --sizes
id: build
- name: Run Forge tests
run: make utest
id: test