Skip to content

Commit 47fa24d

Browse files
committed
fix(actions): local snarkVM dependency
Signed-off-by: Zander Franks <me@zanderf.net>
1 parent 07d23b4 commit 47fa24d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,28 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- name: Checkout
18+
uses: actions/checkout@v4
1819
with:
1920
path: snarkos-test
2021

2122
- name: Checkout snarkOS
2223
uses: actions/checkout@v4
2324
with:
2425
repository: monadicus/snarkOS
26+
ref: mainnet
2527
path: snarkos
2628

2729
- name: Checkout snarkVM
2830
uses: actions/checkout@v4
2931
with:
3032
repository: monadicus/snarkVM
33+
ref: mainnet
3134
path: snarkvm
3235

3336
- name: Use mold linker
3437
uses: rui314/setup-mold@v1
35-
38+
3639
- name: Install nightly and cranelift
3740
uses: dtolnay/rust-toolchain@nightly
3841
with:

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ snarkos-cli = { path = "../snarkos/cli" }
4141
snarkos-node = { path = "../snarkos/node" }
4242
snarkvm = { path = "../snarkvm", features = ["rocks"] }
4343
snot-common = { path = "./crates/snot-common" }
44+
45+
[patch."https://github.com/AleoHQ/snarkVM.git"]
46+
snarkvm = { path = "../snarkvm" }

0 commit comments

Comments
 (0)