Add zk-discrete-log-Proof example over secp256k1 using noir_bigcurve #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run discrete_log_example Tests on PR | |
on: | |
pull_request: | |
paths: | |
- "discrete_log_example/**" | |
schedule: | |
- cron: "0 2 * * *" | |
workflow_dispatch: | |
jobs: | |
test: | |
defaults: | |
run: | |
working-directory: discrete_log_example | |
permissions: | |
issues: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nargo | |
uses: noir-lang/noirup@v0.1.2 | |
with: | |
toolchain: stable | |
- name: Run Noir unit tests | |
working-directory: discrete_log_example/circuits | |
run: | | |
nargo test | |
- name: Create issue on failure (nightly) | |
if: failure() && github.event_name == 'schedule' | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
github.issues.create({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
title: '[Nightly] discrete_log_example workflow failed', | |
body: `The nightly discrete_log_example workflow failed. Please investigate.\n\n/cc @noir-lang/developerrelations`, | |
labels: ['nightly', 'bug'] | |
}) |