@@ -5,7 +5,7 @@ on: [push, pull_request]
5
5
permissions : read-all
6
6
7
7
jobs :
8
- format-build-test :
8
+ format :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Step 1 - Check out main branch
@@ -14,32 +14,26 @@ jobs:
14
14
uses : software-mansion/setup-scarb@v1.3.2
15
15
- name : Step 3 - Checking format
16
16
run : scarb fmt --check
17
- - name : Step 4 - Building
17
+
18
+ build :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Step 1 - Check out main branch
22
+ uses : actions/checkout@v3
23
+ - name : Step 2 - Getting scarb
24
+ uses : software-mansion/setup-scarb@v1.3.2
25
+ - name : Step 3 - Building
18
26
run : scarb build
19
- - name : Step 5 - Setting up snfoundry
27
+
28
+ tests :
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - name : Step 1 - Check out main branch
32
+ uses : actions/checkout@v3
33
+ - name : Step 2 - Getting scarb
34
+ uses : software-mansion/setup-scarb@v1.3.2
35
+ - name : Step 3 - Setting up snfoundry
20
36
uses : foundry-rs/setup-snfoundry@v3
21
- - name : Step 6 - Running tests
22
- run : snforge test
23
-
24
- # build:
25
- # runs-on: ubuntu-latest
26
- # steps:
27
- # - name: Step 1 - Check out main branch
28
- # uses: actions/checkout@v3
29
- # - name: Step 2 - Getting scarb
30
- # uses: software-mansion/setup-scarb@v1.3.2
31
- # - name: Step 3 - Building
32
- # run: scarb build
33
-
34
- # tests:
35
- # runs-on: ubuntu-latest
36
- # steps:
37
- # - name: Step 1 - Check out main branch
38
- # uses: actions/checkout@v3
39
- # - name: Step 2 - Getting scarb
40
- # uses: software-mansion/setup-scarb@v1.3.2
41
- # - name: Step 3 - Setting up snfoundry
42
- # uses: foundry-rs/setup-snfoundry@v3
43
- # - name: Step 4 - Running tests
44
- # run: scarb test
37
+ - name : Step 4 - Running tests
38
+ run : scarb test
45
39
0 commit comments