-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 999 Bytes
/
ci.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
name: ci
run-name: supervisionary-ci-${{ github.actor }}
on: [push]
jobs:
document-compile-and-test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: install wasm32-unknown-unknown
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
target: wasm32-unknown-unknown
components: clippy
default: true
- name: install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
- name: build documentation
uses: actions-rs/cargo@v1
with:
command: make
args: document
- name: lint with clippy
uses: actions-rs/cargo@v1
with:
command: make
args: clippy
- name: compile and run integration tests
uses: actions-rs/cargo@v1
with:
command: make
args: integration-tests