run scarb fmt #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci-apps | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_VERSION: 1.80.1 | |
| jobs: | |
| cairofmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: software-mansion/setup-scarb@v1 | |
| with: | |
| scarb-version: "2.10.1" | |
| - run: | | |
| make fmt_check | |
| apps-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: asdf-vm/actions/setup@v3 | |
| - run: | | |
| asdf plugin add dojo https://github.com/dojoengine/asdf-dojo | |
| asdf install dojo 1.6.2 | |
| asdf global dojo 1.6.2 | |
| make test_all |