Noir Nightly Canary #323
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 Nightly | |
| 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: 'yarn.lock' | |
| - name: Install dependencies | |
| run: | | |
| yarn --immutable | |
| - name: Run all tests (including oracle tests) | |
| working-directory: ./scripts | |
| run: ./run.sh | |
| - 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 | |