Skip to content

Merge pull request #234 from NoshonNetworks/solomon #399

Merge pull request #234 from NoshonNetworks/solomon

Merge pull request #234 from NoshonNetworks/solomon #399

Workflow file for this run

name: Landver Contracts
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Cache Scarb dependencies
# uses: actions/cache@v3
# with:
# path: ~/.scarb
# key: ${{ runner.os }}-scarb-${{ hashFiles('**/Cargo.toml') }}
# restore-keys: |
# ${{ runner.os }}-scarb-
# - name: Install Scarb
# run: |
# curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh
# - name: Run Scarb commands
# working-directory: ./land_registry
# 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.2"
- name: Set up SNForge
uses: foundry-rs/setup-snfoundry@v3
with:
starknet-foundry-version: "0.31.0"
- name: Run tests
run: snforge test
working-directory: land_registry