Skip to content

chore(deps): bump actions/checkout from 5 to 6 #16

chore(deps): bump actions/checkout from 5 to 6

chore(deps): bump actions/checkout from 5 to 6 #16

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
contracts:
name: forge build + test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Install forge dependencies
run: |
# Repo references openzeppelin-contracts + forge-std but lib/ is git-ignored.
# Install them via forge install.
forge install OpenZeppelin/openzeppelin-contracts foundry-rs/forge-std
- name: forge build
run: forge build --sizes
- name: forge test
run: forge test -vv
- name: Setup Node 20 (for sentrix RPC scripts)
uses: actions/setup-node@v6
with:
node-version: '20'
- name: viem typecheck (script/)
run: |
if [ -f scripts/package.json ]; then
cd scripts && npm ci && npx tsc --noEmit
else
echo "no scripts/ npm package — skipping"
fi