Skip to content

Commit

Permalink
Merge pull request #6 from 21kyu/ci/add-test-action
Browse files Browse the repository at this point in the history
ci: install the nightly toolchain and bpf-linker via command
  • Loading branch information
wqld authored Feb 3, 2024
2 parents 9dd5c83 + 7d16399 commit 8ddfbd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable, nightly
components: rustfmt, clippy
- run: rustup toolchain install nightly --component rust-src && cargo install bpf-linker
- run: cargo fmt --all -- --check
- run: cargo xtask build-ebpf
- run: cargo clippy --all --all-targets --all-features -- -D warnings
- run: cargo test --all --lib --bins --tests --examples --all-features

0 comments on commit 8ddfbd4

Please sign in to comment.