Noir Nightly Canary #435
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: Noir Nightly Canary | |
| on: | |
| schedule: | |
| # Run a check at 9 AM UTC | |
| - cron: "0 9 * * *" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| permissions: | |
| issues: write | |
| jobs: | |
| test: | |
| name: Test on Nargo ${{matrix.toolchain}} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| - name: Install Nargo | |
| uses: noir-lang/[email protected] | |
| with: | |
| toolchain: nightly | |
| - name: Setup Node.js and install dependencies | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.15.0 | |
| cache: 'yarn' | |
| cache-dependency-path: 'fuzz_test/yarn.lock' | |
| - name: Install dependencies | |
| working-directory: ./fuzz_test | |
| run: yarn --immutable | |
| - name: Run all tests (including oracle tests) | |
| working-directory: ./fuzz_test | |
| run: ./run_direct_test.sh | |
| - name: Run formatter | |
| run: nargo fmt --check | |
| - name: Alert on dead links | |
| uses: JasonEtco/create-an-issue@v2 | |
| if: ${{ failure() }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| WORKFLOW_NAME: ${{ github.workflow }} | |
| WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
| with: | |
| update_existing: true | |
| filename: .github/NIGHTLY_CANARY_DIED.md | |