diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index afe47cf0..17ec5b32 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,10 +31,33 @@ jobs: run: | cargo fmt --all -- --check - - name: Run clippy + - name: Run clippy (for user space crates) run: | - cargo clippy --workspace --exclude integration-test -- --deny warnings + cargo clippy --workspace \ + --exclude integration-test \ + --exclude aya-bpf \ + --exclude aya-bpf-bindings \ + --exclude aya-log-ebpf \ + --exclude integration-ebpf \ + -- --deny warnings + + - name: Run clippy (for eBPF crates) + run: | + cargo +nightly clippy \ + --target bpfel-unknown-none -Zbuild-std=core \ + --workspace \ + --exclude aya \ + --exclude aya-obj \ + --exclude aya-tool \ + --exclude aya-log \ + --exclude aya-log-parser \ + --exclude integration-test \ + --exclude integration-test-macros \ + --exclude xtask \ + --exclude aya-bpf-macros \ + --exclude aya-log-ebpf-macros \ + -- --deny warnings - name: Run miri run: | - cargo miri test --all-targets \ No newline at end of file + cargo miri test --all-targets