-
Notifications
You must be signed in to change notification settings - Fork 49
52 lines (48 loc) · 1.21 KB
/
bvt.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
44
45
46
47
48
49
50
51
52
name: BVT
on: [pull_request]
jobs:
make:
name: Make
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Make
run: |
make deps
make
make -C example deps
make -C example
make -C ttrpc-codegen deps
make -C ttrpc-codegen
clippy_check:
name: Clippy Check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: tim-actions/clippy-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
name: checks-${{ matrix.os }}
deny:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans sources
# Prevent sudden announcement of a new advisory from failing ci:
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}