Skip to content

Preserve ambiguous payment settlements #428

Preserve ambiguous payment settlements

Preserve ambiguous payment settlements #428

Workflow file for this run

name: CI
permissions: {}
on:
push:
pull_request:
workflow_dispatch:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
name: Full release gate
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
run: |
git init .
git remote add origin https://github.com/dolepee/policypool.git
git fetch --depth=1 origin "$GITHUB_SHA"
git checkout --detach FETCH_HEAD
- name: Use repository Node version
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install JavaScript dependencies
run: npm ci
- name: Install required submodules
run: |
git submodule update --init --depth=1 lib/forge-std lib/v4-core
git -C lib/v4-core submodule update --init --depth=1 lib/solmate lib/openzeppelin-contracts
- name: Install Foundry
run: |
export FOUNDRY_DIR="$HOME/.foundry"
curl -L https://foundry.paradigm.xyz | bash
"$FOUNDRY_DIR/bin/foundryup"
echo "$FOUNDRY_DIR/bin" >> "$GITHUB_PATH"
- name: Show Forge version
run: forge --version
- name: Run agent, accounting, contract, and public-product gates
run: npm run agent:gate-v04
- name: Check deployed hook bytecode and historical proof receipts
run: |
forge build --sizes
node --dns-result-order=ipv4first scripts/verify-deployment.mjs
node --dns-result-order=ipv4first scripts/verify-proof.mjs
node --dns-result-order=ipv4first scripts/verify-surge.mjs