Skip to content

Verify

Verify #15

Workflow file for this run

name: Verify
on:
workflow_call:
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main
with:
node-version: 22
- name: Lint code
run: pnpm lint
- uses: stefanzweifel/git-auto-commit-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: 'chore: format'
commit_user_name: 'github-actions[bot]'
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
types:
name: Types
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main
with:
node-version: 22
- name: Build
run: pnpm build
- name: Check types
run: pnpm typecheck
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main
with:
node-version: 22
- name: Set up Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Set up Docker
uses: docker-practice/actions-setup-docker@master
- name: Pull Stackup
run: docker pull stackupwallet/stackup-bundler:latest
- name: Run tests
run: pnpm test