Skip to content

spec: Add Channel API contract, generator, and Emerald composition #983

spec: Add Channel API contract, generator, and Emerald composition

spec: Add Channel API contract, generator, and Emerald composition #983

Workflow file for this run

name: Foundry
on:
merge_group:
pull_request:
push:
branches: [main]
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR.
# Ensures that we don't waste CI time, and returns results quicker.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
FOUNDRY_PROFILE: ci
jobs:
foundry-example:
name: Build and Test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v5
with:
submodules: recursive
persist-credentials: false
- 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
- name: Run Forge tests
run: forge test -vvv