forked from kernel-node/kernel-node
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 718 Bytes
/
ci.yml
File metadata and controls
29 lines (27 loc) · 718 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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Bitcoin Kernel Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential cmake pkgconf python3 libevent-dev libboost-dev capnproto libcapnp-dev
- name: Format Check
run: |
cargo fmt -- --check
cargo clippy --all-targets -- -D warnings
cargo check --all-features
- name: MSRV
run: |
cargo install cargo-msrv@0.19.2
cargo msrv verify