Skip to content

Update all examples to Aztec v5.0.0-rc.1 #4

Update all examples to Aztec v5.0.0-rc.1

Update all examples to Aztec v5.0.0-rc.1 #4

name: Custom Note Tests
on:
push:
branches:
- next
pull_request:
branches:
- next
paths:
- "custom-note/**"
- ".github/workflows/custom-note-tests.yml"
workflow_dispatch:
jobs:
custom-note-tests:
name: Custom Note Tests
runs-on: ubuntu-latest
env:
AZTEC_VERSION: 5.0.0-rc.1
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Enable Corepack for Yarn
run: corepack enable
- name: Install Aztec CLI
run: |
INSTALL_URL="https://install.aztec.network/${{ env.AZTEC_VERSION }}/"
curl -sL $INSTALL_URL > tmp.sh
VERSION=${{ env.AZTEC_VERSION }} bash tmp.sh <<< yes "yes"
- name: Update path
run: |
echo "$HOME/.aztec/current/bin" >> $GITHUB_PATH
echo "$HOME/.aztec/current/internal-bin" >> $GITHUB_PATH
echo "$HOME/.aztec/current/node_modules/.bin" >> $GITHUB_PATH
echo "$HOME/.aztec/bin" >> $GITHUB_PATH
# custom-note is a contract-only example — compiling it is the smoke test
# (no local network or JS dependencies required).
- name: Compile custom-note contract
working-directory: custom-note
run: |
ulimit -s unlimited
script -e -c "aztec compile"