Skip to content

Noir Nightly Canary #89

Noir Nightly Canary

Noir Nightly Canary #89

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: Run Noir tests
run: nargo test
- name: Run formatter
run: nargo fmt --check
- name: Alert on dead canary
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