Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
posaune0423 committed Aug 7, 2024
1 parent c39032d commit 4e8b50f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,22 @@ defaults:
working-directory: contracts

jobs:
cairofmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.7.0"
- run: |
scarb fmt --check
sozo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: curl -L https://install.dojoengine.org | bash
- run: /home/runner/.config/.dojo/bin/dojoup -v v0.7.0-alpha.4
- run: |
/home/runner/.config/.dojo/bin/scarb fmt --check
/home/runner/.config/.dojo/bin/sozo test
/home/runner/.config/.dojo/bin/sozo build
if [[ `git status --porcelain` ]]; then
Expand Down

0 comments on commit 4e8b50f

Please sign in to comment.