Skip to content

Commit

Permalink
Feat: Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gianalarcon committed Nov 4, 2024
1 parent 49be58f commit 7756a6c
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 7756a6c

Please sign in to comment.