fix(nft)!: align note-hashing with upstream aztec-nr scheme #64
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: PR Checks | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Job-level gating (not workflow-level `paths:`) so a skipped benchmark still | |
| # reports as passing for branch protection. | |
| changes: | |
| name: Changes | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: read | |
| outputs: | |
| benchmark: ${{ steps.filter.outputs.benchmark }} | |
| steps: | |
| - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
| id: filter | |
| with: | |
| filters: | | |
| benchmark: | |
| - 'src/**/*.nr' | |
| - '**/Nargo.toml' | |
| - 'benchmarks/**' | |
| # every benchmark imports its setup helpers from this file | |
| - 'src/ts/test/utils.ts' | |
| - 'tsconfig.json' | |
| - 'package.json' | |
| - 'yarn.lock' | |
| - '.github/workflows/pr-checks.yml' | |
| format: | |
| name: Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: '22' | |
| cache: 'yarn' | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn format:check | |
| checks: | |
| uses: AztecProtocol/aztec-ci-actions/.github/workflows/run-tests.yml@431859e477234b8690eb1f80d1305d2e34f10f1b # v0.1.1 | |
| with: | |
| runner: ubuntu-latest | |
| secrets: inherit | |
| benchmark: | |
| # Skipping also skips this branch's baseline-artifact upload; a PR stacked on | |
| # top of a skipped branch falls back to `if_no_artifact_found: warn` downstream. | |
| needs: changes | |
| if: needs.changes.outputs.benchmark == 'true' | |
| uses: AztecProtocol/aztec-benchmark/.github/workflows/pr-benchmark.yml@39244c9306f7b460aec570297100f3513f7ef936 # v5.0.1 | |
| with: | |
| runner: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| actions: read | |
| secrets: inherit |