Skip to content

Commit

Permalink
Allow pulling snarkify private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gigatron committed Aug 14, 2024
1 parent 3245589 commit 63806a3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/prover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
workspaces: "prover -> target"
- name: Setup ssh to private repo
run: |
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.ACTION_KEY }}'
- name: Cargo check
run: cargo check --all-features
- name: Cargo fmt
Expand All @@ -76,6 +80,10 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
workspaces: "prover -> target"
- name: Setup ssh to private repo
run: |
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.ACTION_KEY }}'
- name: Run clippy
run: cargo clippy --all-features --all-targets -- -D warnings

Expand All @@ -94,6 +102,10 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
workspaces: "prover -> target"
- name: Setup ssh to private repo
run: |
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.ACTION_KEY }}'
- name: Test
run: |
make prover
2 changes: 1 addition & 1 deletion prover/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ edition = "2021"
ethers-signers = { git = "https://github.com/scroll-tech/ethers-rs.git", branch = "v2.0.7" }
halo2curves = { git = "https://github.com/scroll-tech/halo2curves", branch = "v0.1.0" }
[patch."https://github.com/privacy-scaling-explorations/halo2.git"]
halo2_proofs = { git = "https://github.com/snarkify/halo2-scroll.git", tag = "snarkify-v0.1.5" }
halo2_proofs = { git = "ssh://git@github.com/snarkify/halo2-scroll.git", tag = "snarkify-v0.1.5" }
[patch."https://github.com/privacy-scaling-explorations/poseidon.git"]
poseidon = { git = "https://github.com/scroll-tech/poseidon.git", branch = "main" }
[patch."https://github.com/privacy-scaling-explorations/bls12_381"]
bls12_381 = { git = "https://github.com/scroll-tech/bls12_381", branch = "feat/impl_scalar_field" }
[patch."https://github.com/scroll-tech/halo2.git"]
halo2_proofs = { git = "https://github.com/snarkify/halo2-scroll.git", tag = "snarkify-v0.1.5" }
halo2_proofs = { git = "ssh://git@github.com/snarkify/halo2-scroll.git", tag = "snarkify-v0.1.5" }

[dependencies]
anyhow = "1.0"
Expand Down

0 comments on commit 63806a3

Please sign in to comment.