generated from noir-lang/noir-library-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (34 loc) · 979 Bytes
/
nightly-canary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 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