-
Notifications
You must be signed in to change notification settings - Fork 59
40 lines (37 loc) · 1.08 KB
/
candid.yaml
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
on:
pull_request:
branches:
- master
name: Validate candid files
jobs:
candid_syntax:
name: validate candid syntax
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install didc 0.3.2
uses: supplypike/setup-bin@v1
with:
uri: https://github.com/dfinity/candid/releases/download/2023-07-11/didc-linux64
name: didc
version: 0.3.2
- name: run validate-candid-syntax.sh
run: ./scripts/validate-candid-syntax.sh
shell: bash
candid_matches_rust:
name: validate candid matches rust
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/setup-rust
with:
cache: read
- name: install didc 0.3.2
uses: supplypike/setup-bin@v1
with:
uri: https://github.com/dfinity/candid/releases/download/2023-07-11/didc-linux64
name: didc
version: 0.3.2
- name: run validate-candid-matches-rust.sh
run: ./scripts/validate-candid-matches-rust.sh
shell: bash