Skip to content

fix: use correct dojo in ci #303

fix: use correct dojo in ci

fix: use correct dojo in ci #303

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
sozo-test:
runs-on: ubuntu-latest
env:
DOJO_VERSION: v1.0.0-rc.0
steps:
- uses: actions/checkout@v3
- run: curl -L https://install.dojoengine.org | bash
- run: /home/runner/.config/.dojo/bin/dojoup -v ${{ env.DOJO_VERSION }}
- run: |
/home/runner/.config/.dojo/bin/sozo build
/home/runner/.config/.dojo/bin/sozo test
if [[ `git status --porcelain` ]]; then
echo The git repo is dirty
echo "Make sure to run \"sozo build\" after changing Scarb.toml"
exit 1
fi