chore(deps): bump actions/checkout from 5 to 6 #16
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |