Refactor and test avnu_swap
#91
Workflow file for this run
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: Build and test AutoSwap contracts | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: build | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Scarb | |
uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.8.5" | |
- name: Run build | |
run: scarb build | |
test: | |
runs-on: ubuntu-latest | |
name: tests | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@main | |
- name: Set up Scarb | |
uses: software-mansion/setup-scarb@v1 | |
with: | |
scarb-version: "2.8.5" | |
- name: Set up snforge | |
uses: foundry-rs/setup-snfoundry@v3 | |
with: | |
starknet-foundry-version: "0.33.0" | |
- name: Run tests | |
run: snforge test |