Skip to content

fix tests

fix tests #3874

Workflow file for this run

name: CI
on: [push]
env:
STARKNET_DEVNET_VERSION: 0.2.3
jobs:
lint-build-test:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js 22
uses: actions/setup-node@v2
with:
node-version: 22
cache: "yarn"
- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
- name: Restore Cargo
uses: actions/cache@v4
with:
path: ~/.cargo
key: ${{ runner.os }}-cargo-${{ env.STARKNET_DEVNET_VERSION }}
- name: Install Starknet Devnet
run: cargo install starknet-devnet@${{ env.STARKNET_DEVNET_VERSION }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- run: yarn --frozen-lockfile
- run: yarn build
- run: yarn typecheck
- run: yarn lint
- run: yarn test
- run: yarn test:integration