Skip to content

Merge branch 'main' of https://github.com/zkemail/zk-email-wallet int… #1065

Merge branch 'main' of https://github.com/zkemail/zk-email-wallet int…

Merge branch 'main' of https://github.com/zkemail/zk-email-wallet int… #1065

name: Build-Test-Fmt
on:
[push]
jobs:
build-test-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup show
- uses: Swatinem/rust-cache@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run tests
working-directory: packages/contracts
run: forge build
- name: Build
run: cargo build
- name: Test
run: cargo test