File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
target_chains/starknet/contracts Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Starknet contract
2
+ on :
3
+ pull_request :
4
+ paths :
5
+ - target_chains/starknet/contracts/**
6
+ push :
7
+ branches :
8
+ - main
9
+ paths :
10
+ - target_chains/starknet/contracts/**
11
+ jobs :
12
+ check :
13
+ name : Starknet Foundry tests
14
+ runs-on : ubuntu-latest
15
+ defaults :
16
+ run :
17
+ working-directory : target_chains/starknet/contracts/
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : Install Scarb
21
+ uses : software-mansion/setup-scarb@v1
22
+ with :
23
+ tool-versions : target_chains/starknet/contracts/.tool-versions
24
+ - name : Install Starknet Foundry
25
+ uses : foundry-rs/setup-snfoundry@v3
26
+ with :
27
+ tool-versions : target_chains/starknet/contracts/.tool-versions
28
+ - name : Check formatting
29
+ run : scarb fmt --check
30
+ - name : Run tests
31
+ run : snforge test
Original file line number Diff line number Diff line change 1
1
scarb 2.5.4
2
+ starknet-foundry 0.21.0
You can’t perform that action at this time.
0 commit comments