Skip to content

Feat/stx validator

Feat/stx validator #75

Workflow file for this run

name: Foundry Tests
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.17.1
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: forge build
env:
FOUNDRY_PROFILE: ci
- name: Run node-paymaster tests
run: forge test --match-path 'test/unit-and-e2e/node-paymaster/**' --isolate
env:
FOUNDRY_PROFILE: ci
RPC_84532: https://sepolia.base.org
RPC_11155111_TEST: https://0xrpc.io/sep
TESTNET_PRIVATE_KEY: ${{ secrets.TESTNET_PRIVATE_KEY }}
- name: Run all other tests
run: forge test --no-match-path 'test/unit-and-e2e/node-paymaster/**'
env:
FOUNDRY_PROFILE: ci
RPC_84532: https://sepolia.base.org
RPC_11155111_TEST: https://0xrpc.io/sep
TESTNET_PRIVATE_KEY: ${{ secrets.TESTNET_PRIVATE_KEY }}