Skip to content

feat: Init unit tests #6

feat: Init unit tests

feat: Init unit tests #6

Workflow file for this run

name: CI
on:
pull_request:
concurrency:
group: ${{ github.ref }}-ci
cancel-in-progress: true
env:
FOUNDRY_PROFILE: ci
SEPOLIA_RPC_URL: secrets.SEPOLIA_RPC_URL
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
- name: Run Forge build
run: forge build --sizes && cp .env.template .env
- name: Run Forge tests
run: make utest