Skip to content

feat: use noir-circuit-info-action #4

feat: use noir-circuit-info-action

feat: use noir-circuit-info-action #4

Workflow file for this run

name: Circuit Gates
on:
pull_request:
branches: [main]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install nargo
uses: noir-lang/[email protected]
with:
toolchain: nightly
- name: Comment nargo info
run: |
cd circuits
GATES=$(nargo info)
gh pr comment $PR_NUMBER --body "<pre>$GATES</pre>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}