Skip to content

ci: add workflow to check bindings are up to date #53

ci: add workflow to check bindings are up to date

ci: add workflow to check bindings are up to date #53

Workflow file for this run

name: Foundry CI
on:
push:
branches: [main]
pull_request:
branches: [ '**' ]
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./crates/contracts
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Show Forge version
run: forge --version
- name: Run Forge fmt
run: forge fmt --check
- name: Run Forge build
run: forge build --sizes