Skip to content

Add Unit Test CI to packages/contracts for Early Detection of Code Breakages #1

Add Unit Test CI to packages/contracts for Early Detection of Code Breakages

Add Unit Test CI to packages/contracts for Early Detection of Code Breakages #1

Workflow file for this run

name: Contracts CI
on:
push:
paths:
- 'packages/contracts/**/*.sol'
pull_request:
paths:
- 'packages/contracts/**/*.sol'
jobs:
format:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/contracts
steps:
- name: Checkout repository code
uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Check Solidity formatting
id: format
run: make format_check
- name: Execute Unit Test
run: make test