-
-
Notifications
You must be signed in to change notification settings - Fork 73
32 lines (29 loc) · 719 Bytes
/
Copy pathci.yaml
File metadata and controls
32 lines (29 loc) · 719 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
---
name: CI
on:
pull_request:
push:
branches:
- "*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cargo-bins/cargo-binstall@main
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy rustfmt
- run: cargo binstall -y bpf-linker
- name: Build oryx-ebpf
run: cargo xtask build-ebpf
- name: Build oryx-tui
run: cargo xtask build
- name: Linting
run: |
cargo xtask lint
cargo fmt --all -- --check
cd oryx-ebpf
cargo clippy --workspace --all-features -- -D warnings
cargo fmt --all -- --check