Skip to content

is_owner_or_member_of_profile function and is_member_of_profile function #57

is_owner_or_member_of_profile function and is_member_of_profile function

is_owner_or_member_of_profile function and is_member_of_profile function #57

Workflow file for this run

name: Test
on: [push, pull_request]
permissions: read-all
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Scarb version
run: scarb --version
- name: Check cairo format
run: scarb fmt --check
- name: Build cairo programs
run: scarb build
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
- name: Scarb version
run: scarb --version
- uses: actions/checkout@v3
- uses: foundry-rs/setup-snfoundry@v3
with:
starknet-foundry-version: "0.23.0"
- name: Run cairo tests
run: snforge test