File tree Expand file tree Collapse file tree 3 files changed +31
-7
lines changed Expand file tree Collapse file tree 3 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : " Devnet Setup"
2
+
3
+ inputs :
4
+ devnet_sha :
5
+ description : " Commit SHA for the starknet-devnet-rs repository"
6
+ required : true
7
+
8
+
2
9
runs :
3
10
using : " composite"
4
11
steps :
7
14
with :
8
15
submodules : recursive
9
16
17
+ - name : Cache devnet build
18
+ id : cache-devnet
19
+ uses : actions/cache@v4
20
+ with :
21
+ path : starknet-devnet-rs/target/release
22
+ key : ${{ runner.os }}-starknet-devnet-rs-target-release-${{ inputs.devnet_sha }}
23
+
10
24
- name : Clone starknet-devnet-rs
25
+ if : steps.cache-devnet.outputs.cache-hit != 'true'
11
26
shell : bash
12
27
run : |
13
28
DEVNET_SHA="dd559716849ade47cc06be150edf250e5dccb2bf"
14
29
git clone https://github.com/0xSpaceShard/starknet-devnet-rs.git starknet-devnet-rs
15
30
cd starknet-devnet-rs
16
31
git checkout "$DEVNET_SHA"
17
32
18
- - name : Cache devnet build
19
- uses : actions/cache@v4
20
- with :
21
- path : starknet-devnet-rs/target/release
22
- key : ${{ runner.os }}-starknet-devnet-rs-target-release-dd559716849ade47cc06be150edf250e5dccb2bf
23
-
24
33
- name : Build and install devnet
25
34
shell : bash
26
35
run : |
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Checks
3
3
env :
4
4
CAIRO_LANG_VERSION : " 0.13.1"
5
5
DEVNET_VERSION : " 0.1.2"
6
- DEVNET_SHA : 7e7dbb5
6
+ DEVNET_SHA : dd55971
7
7
LEDGER_APP_SHA : dd58c5c
8
8
LEDGER_APP_DEV_TOOLS_SHA : a037d42181f4bed9694246256e2c9e2a899e775c302a9c6482c81f87c28e1432
9
9
Original file line number Diff line number Diff line change
1
+ name : Devnet Setup Workflow
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - development
7
+ pull_request :
8
+
9
+ jobs :
10
+ devnet-setup :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Run Devnet Setup
15
+ uses : ./.github/composite-actions/devnet
You can’t perform that action at this time.
0 commit comments