expose state methods to amm interface #223
This file contains 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: push | |
env: | |
SCARB_VERSION: 2.3.1 | |
FOUNDRY_VERSION: 0.10.1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v3 | |
- name: Install Scarb | |
run: curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash -s -- -v $SCARB_VERSION | |
- name: Install SnFoundryUp | |
run: curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh | |
- name: Install SnFoundry | |
run: snfoundryup -v $FOUNDRY_VERSION | |
- name: Check formatting | |
run: scarb fmt --check | |
- name: Build | |
run: scarb build | |
- name: Test | |
run: snforge test |