forked from dojoengine/origami
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (46 loc) · 1.2 KB
/
examples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Test
on: [push, pull_request]
env:
DOJO_VERSION: v0.3.3
WORKING-DIRECTORY: examples
jobs:
check:
runs-on: ubuntu-latest
name: Check format
steps:
- uses: actions/checkout@v4
- uses: software-mansion/setup-scarb@v1
- name: Format
working-directory: ${{ env.WORKING-DIRECTORY }}
run: scarb fmt --package random --check
shell: bash
build:
runs-on: ubuntu-latest
name: Build package
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Build
working-directory: ${{ env.WORKING-DIRECTORY }}
run: sozo build
shell: bash
market:
runs-on: ubuntu-latest
name: Test market example
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
working-directory: ${{ env.WORKING-DIRECTORY }}
run: sozo test
shell: bash
projectile:
runs-on: ubuntu-latest
name: Test projectile example
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Test
working-directory: ${{ env.WORKING-DIRECTORY }}
run: sozo test
shell: bash