Skip to content

add in usesync

add in usesync #29

Workflow file for this run

name: test-contracts
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up environment
run: |
sudo apt-get update
sudo apt-get install -y curl
- name: Download Dojo release artifact
run: |
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v0.3.15/dojo_v0.3.15_linux_amd64.tar.gz
tar -xzf dojo-linux-x86_64.tar.gz
sudo mv sozo /usr/local/bin/
- name: Run Dojo Build
run: |
cd contracts && sozo build
- name: Run Dojo Test
run: |
cd contracts && sozo test