Skip to content

liquidy retreival: initial commit #15

liquidy retreival: initial commit

liquidy retreival: initial commit #15

Workflow file for this run

name: Cairo Contracts
on: [push, pull_request]
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.8.0"
- name: Check cairo format
run: scarb fmt --check
working-directory: contracts
- name: Build cairo contracts
run: scarb build
working-directory: contracts
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Scarb
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.8.0"
- name: Set up SNForge
uses: foundry-rs/setup-snfoundry@v3
with:
starknet-foundry-version: "0.27.0"
- name: Run cairo tests
run: scarb test
working-directory: contracts