Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .github/actions/prepare-rust-env/action.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
---
name: "Prepare Rust environment"
description: >
Installs Rust toolchain, authenticates with SSH (in order to access Github private repos)
inputs:
ssh-private-key:
description: "SSH private key to authenticate with"
required: true
description: Installs Rust toolchain

runs:
using: composite
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ inputs.ssh-private-key }}

- name: Install Rust toolchain
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v7
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/_check-vars-and-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ jobs:
steps:
- name: Check secrets
run: |
if [[ \
-z '${{ secrets.SSH_KEY }}' || \
-z '${{ secrets.SLACK_WEBHOOK_ZKOS }}'
]]; then
if [[ -z '${{ secrets.SLACK_WEBHOOK_ZKOS }}' ]]; then
echo '!!! Some repository secrets are either missing or empty.'
echo '!!! Please check either repository or organization settings.'
exit 1
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/_measure-circuits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:

- name: Prepare Rust env
uses: ./.github/actions/prepare-rust-env
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

#################### Run measurements on main branch ####################

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/_rust-crates-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:

- name: Prepare Rust env
uses: ./.github/actions/prepare-rust-env
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Ensure formatting is correct
run: cargo +nightly fmt --all --check
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/nightly-benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:

- name: Prepare Rust env
uses: ./.github/actions/prepare-rust-env
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Run benches for shielder-circuits
run: make bench
Expand Down
Loading
Loading