-
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (37 loc) · 777 Bytes
/
ci.yml
File metadata and controls
42 lines (37 loc) · 777 Bytes
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
name: CI
on:
push:
branches:
- main
- release/**
pull_request:
jobs:
lint:
name: "Linting"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
name: Checkout code
- name: Run linter
run: |
make lint
test:
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
name: Checkout code
- name: Run tests
run: |
make test
library:
name: "Library-only build"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
name: Checkout code
- name: Run tests
run: cargo build --no-default-features --lib --features cadence