diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 182d9cb..d2fc80d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,19 +7,19 @@ on: 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 \ No newline at end of file + sozo-test: + runs-on: ubuntu-latest + env: + DOJO_VERSION: v1.0.0-rc.1 + 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