Skip to content

✨ Introduce examples #1

✨ Introduce examples

✨ Introduce examples #1

Workflow file for this run

name: Test
on: [push, pull_request]
env:
DOJO_VERSION: v0.3.3
jobs:
check:
runs-on: ubuntu-latest
name: Check format
steps:
- uses: actions/checkout@v4
- uses: software-mansion/setup-scarb@v1
- name: Format
run: scarb fmt --package random --check
shell: bash
build:
runs-on: ubuntu-latest
name: Build package
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Build
run: sozo build
shell: bash
algebra:
runs-on: ubuntu-latest
name: Test algebra crate
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
run: sozo test -f algebra
shell: bash
defi:
runs-on: ubuntu-latest
name: Test defi crate
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
run: sozo test -f defi
shell: bash
random:
runs-on: ubuntu-latest
name: Test random crate
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
run: sozo test -f random
shell: bash
security:
runs-on: ubuntu-latest
name: Test security crate
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
run: sozo test -f security
shell: bash